BTW, my ($self, $y) = shift; isn't a typo, it is wrong IMHO. It should be my ($self, $y) = @_; - if this is what you meant.
Best regards, Karl
«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 reply to Re: Passing a class method
by karlgoethebier
in thread Passing a class method
by baxy77bax
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |