Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

(Ovid constants) Re: my $var; vs. use constant VAR = '';

by Ovid (Cardinal)
on Apr 27, 2001 at 01:08 UTC ( #75911=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    BEGIN {
        sub FILENAME() { '/path/to/file/to/munge' }
    }
    
  2. or download this
    my $filename = "/path/to/file/to/munge";
    print "$filename";
    
    use constant FILENAME => '/path/to/file/to/munge'; 
    print "FILENAME";
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (13)
As of 2013-06-20 09:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many continents have you visited?









    Results (682 votes), past polls