Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Why do I get uninitialized value in substitution (s///) in my array?

by Popcorn Dave (Abbot)
on Aug 10, 2009 at 21:47 UTC ( #787419=note: print w/ replies, xml ) Need Help??


in reply to Why do I get uninitialized value in substitution (s///) in my array?

One small thing that could come back to bite you in the butt down the road is using $a for a variable since $a and $b are special variables.

I'd change it to something a bit more meaningful so not only that you'll remember what it does when you look at the code 6 months from now but you won't get messed up if you use the <=> operator in the program down the road.


To disagree, one doesn't have to be disagreeable - Barry Goldwater


Comment on Re: Why do I get uninitialized value in substitution (s///) in my array?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (20)
As of 2015-07-06 14:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (75 votes), past polls