Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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"'

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1005902]
help
Chatterbox?
[shmem]: saying "biking itself isn't that much, but getting up and down - hell!"
[shmem]: up and down: on and off the bike, of course

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2017-06-25 20:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (570 votes). Check out past polls.