Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: sub variables

by karlgoethebier (Abbot)
on Jul 23, 2017 at 12:51 UTC ( [id://1195813]=note: print w/replies, xml ) Need Help??


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
    I'm a bit surprised why nobody mentioned signatures:

    LanX did, in the very first reply.

    Alexander

    --
    Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
      No I didn't.

      KGB is talking about a module confusingly released under the namespace of pragmas.

      Cheers Rolf
      (addicted to the Perl Programming Language and ☆☆☆☆ :)
      Je suis Charlie!

        Thanx LanX. You probably saved me a lot of stress and typing ;-)

        Best regards, KGB

        «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

      OK, i didn't follow the link. But please see below above...

      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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1195813]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2024-04-25 10:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found