Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: eval('__PACKAGE__') is always main?!!!

by Corion (Pope)
on Dec 23, 2004 at 20:11 UTC ( #417200=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    perl -le 'package foo ;print eval("__PACKAGE__");'
    
  2. or download this
    perl -le 'package foo ;print eval(q(__PACKAGE__));'
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (12)
As of 2016-05-05 16:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?