Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Perl allows package names consisting entirely of colons

by blackle (Beadle)
on Nov 27, 2012 at 19:23 UTC ( #1005902=note: print w/ replies, xml ) Need Help??


in reply to Perl allows package names consisting entirely of colons

I know you could've done this with regular variables, but using pairs of colons to access the packages' $_s looks really funny:

perl -e '$::=$::::=($::==$::);map{$::::*=++$::;$::-=$::**--$::::>>$::}(++$::..++$::::**$::*$::);$::::+=$::*$::*$::+$::*$::*$::;$::::.=$::*$::::*++$::;@::::::=reverse($::::=~m/74|72|65|80/g);print map{chr}@::::::;print"\n"'


Comment on Re: Perl allows package names consisting entirely of colons
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2014-12-25 01:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls