Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: Perl allows package names consisting entirely of colons

by BrowserUk (Pope)
on Nov 27, 2012 at 14:29 UTC ( #1005867=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    { package _'_'_'_'_; sub hi{ say 'hello from ', __PACKAGE__ } };;
    
    _'_'_'_'_::hi;;
    hello from  _::_::_::_::_
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (10)
As of 2015-07-03 08:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (50 votes), past polls