Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Perl Style: Is initializing variables considered taboo?

by ikegami (Patriarch)
on Aug 21, 2010 at 15:45 UTC ( [id://856468]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $x;
    
  2. or download this
    my $x = undef;
    my $x = 0;
    
  3. or download this
    my $x = undef;
    if (cond()) {
    ...
    } else {
       $x = g();
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-03-19 11:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found