in reply to sub variables
I'm a bit surprised why nobody mentioned signatures:
#!/usr/bin/env perl # http://perlmonks.org/?node_id=1195793 # $Id: signatures.pl,v 1.3 2017/07/23 12:44:30 karl Exp karl $ use strict; use warnings; use feature qw(say); use signatures; say $^V; say nose(q(cuke)); sub nose ($cuke) { $cuke; } __END__
But perhaps i missed the point because i don't know Perl6.
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: sub variables
by afoken (Chancellor) on Jul 23, 2017 at 17:12 UTC | |
by LanX (Saint) on Jul 23, 2017 at 17:22 UTC | |
by karlgoethebier (Abbot) on Jul 23, 2017 at 17:45 UTC | |
by karlgoethebier (Abbot) on Jul 23, 2017 at 17:51 UTC |