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

Re: "if" in a my declaration statement causes problem

by Siddartha (Curate)
on Feb 20, 2006 at 13:30 UTC ( #531400=note: print w/replies, xml ) Need Help??


in reply to "if" in a my declaration statement causes problem

Rather do this:
my $x; $x = $y if ( <some condition> );
Otherwise, post a bit more code. What do you do with $x after that?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://531400]
help
Chatterbox?
[atcroft]: stevieb: I have berrybrew installed on a Win machine, and I noticed that with perlbrew you can "upgrade" a particular installed version... any chance of doing something similar in the
[atcroft]: future with berrybrew?

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2017-04-29 05:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (531 votes). Check out past polls.