Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Using Global Variables in Perl

by pc88mxer (Vicar)
on Apr 22, 2008 at 17:12 UTC ( [id://682223]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package moduleA;
    
    ...
    $writeMode = '>';
    ...
    1;
    
  2. or download this
    use moduleA qw($appendMode openFile);
    ...
    # calls moduleA::openFile() with parameter $moduleA::appendMode:
    openFile(..., $appendMode); # note: no namespace qualifier needed
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-04-24 15:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found