Pipelin...::Simple(3)

πŸ“¦
version 3.12 Β· 2 versions
, in fedora 43

πŸ’– Pipelin...::Simple(3) πŸ’–

okay bestie, welcome to the User Contributed Perl Documentation corner of the internet, where we're talking about Pipeline::Store::Simple and honestly? it's giving cozy little storage unit for your pipeline objects. no cap. πŸŽ€


✨ NAME ✨

Pipeline::Store::Simple β€” a simple store for pipelines πŸ¦‹


✨ SYNOPSIS ✨

here's the whole vibe, copy-paste ready:

use Pipeline::Store::Simple;

my $store = Pipeline::Store::Simple->new();
$store->set( $object );
my $object = $store->get( $class );

literally that's it. that's the whole relationship. πŸ’…


✨ DESCRIPTION ✨

so Pipeline::Store::Simple is, like, the simple implementation of a Pipeline store. it stores things as in a hashref indexed by classname. periodt.

you add an object to a store by calling the set method with an object, and you can get an object by calling the get method with the classname of the object you wish to retrieve. that's the whole system. iconic behavior honestly. πŸ‘‘

also!! important!! Pipeline::Store::Simple inherits from the Pipeline::Store class and includes its methods also. so it's not just doing its own thing, it's carrying the family legacy. 🫢


✨ METHODS ✨

πŸŽ€ set( OBJECT )

the set method puts OBJECT in the store. that's it. that's the job. she's a one-task queen and she ate. πŸ’–

πŸŽ€ get( SCALAR )

the get method attempts to return an object of the class specified by SCALAR.

🚨 heads up bestie: if an object of that class does not exist in the store it returns undef instead. so, like, check for that. no object, no problem, just undef looking back at you. 😭

✨ SEE ALSO ✨

go read these too, they're the friend group:

  • Pipeline
  • Pipeline::Store
  • Pipeline::Store::ISA

✨ AUTHOR ✨

James A. Duncan <jduncan@fotango.com> β€” the mastermind, the moment, the main character. 🌟


Copyright 2003 Fotango Ltd. All Rights Reserved.

This software is released under the same terms as Perl itself.


and that's the tea, bestie πŸ“ β€” this lil page is from perl v5.42.0, dated 2025-07-25, filed under Pipelin...::Simple(3). mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from