Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Static Variables in Perl

by benizi (Hermit)
on Mar 31, 2006 at 22:36 UTC ( [id://540560]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ head -n 1 *.pm
    ==> AA.pm <==
    package AA; use base qw/Exporter/; our @EXPORT=qw/$knob1/; our $knob1 
    += 'no'; 1
    ...
    42
    42
    42
    
  2. or download this
    $ head -n 1 *.pm
    ==> AA.pm <==
    package AA; use base qw/Exporter/; our @EXPORT=qw/$knob1/; our $knob1 
    += 'no'; 1
    ...
    42
    Use of uninitialized value in print at -e line 1.
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2024-03-28 16:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found