Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: __PACKAGE__ variable cannot use as replace of package name

by kcott (Abbot)
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (11)
As of 2014-10-01 16:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (29 votes), past polls