Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: __PACKAGE__ variable cannot use as replace of package name

by kcott (Chancellor)
on Apr 23, 2013 at 08:16 UTC ( #1030066=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -Mstrict -Mwarnings -E '
        package Testonly;
    ...
    '
    NO REFS: 1.000
    REFS: Can't use string ("Testonly::VERSION") as a SCALAR ref while "st
    +rict refs" in use at -e line 9.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1030066]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2017-04-27 18:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (512 votes). Check out past polls.