Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: my $var; vs. use constant VAR = '';

by tadman (Prior)
on Apr 27, 2001 at 01:07 UTC ( [id://75909]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        my ($filename) = "/path/to/file";
        my ($filemode) = "immolate";
        my ($opmode)   = "seek";
        my ($filetype) = "image/gif";
    
  2. or download this
        my (%config) = (
               filename => "/path/to/file",
               filemode => "immolate",
               opmode   => "seek",
               filetype => "image/gif",
        );
    
  3. or download this
         my ($thing) = $config{'thing_to_mash'};
         for (my $x = 0; $x < 100_000_000; $x++)
         {
               DoCrazyStuff($thing, $x, Foo($x));
         }
    
  4. or download this
        sub Config { return $config{$_[0]}; }

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-16 22:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found