in reply to Re: Prototype like sort()?
in thread Prototype like sort()?
"...a whole bunch of reasons to not use prototypes..."
Yes, may be. But some cool modules do it all the time - e.g.:
sub apply (&@) { my $action = shift; &$action foreach my @values = @_; wantarray ? @values : $values[-1]; }
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
|
|---|