Just another Perl shrine | |
PerlMonks |
Re^2: Error codes vs die exceptions vs ...by karlgoethebier (Abbot) |
on Jul 06, 2019 at 12:18 UTC ( [id://11102474]=note: print w/replies, xml ) | Need Help?? |
This sounds very "vernünftig". What about putting this stuff into some fancy little role? See What About Providing Constructors in Roles? for some ideas for roles providing constructors. Callow thought: May be it should be a singleton 🤪. Best regards, Karl P.S.: I‘m on vacation and unfortunately there is no Perl on the iPad and i don‘t like blindfold mode. «The Crux of the Biscuit is the Apostrophe» perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help
In Section
Seekers of Perl Wisdom
|
|