Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: DBI, s/// => unitinitialized value in substitution

by swampyankee (Parson)
on Mar 05, 2009 at 17:08 UTC ( [id://748608]=note: print w/replies, xml ) Need Help??


in reply to DBI, s/// => unitinitialized value in substitution

Always use warnings and use strict; they will prevent many bad surprises. Using this you'd probably notice that @rex doesn't seem to have been set.


Information about American English usage here and here. Floating point issues? Please read this before posting. — emc

  • Comment on Re: DBI, s/// => unitinitialized value in substitution

Replies are listed 'Best First'.
SOLVED: DBI, s/// => unitinitialized value in substitution
by brwarn (Novice) on Mar 05, 2009 at 18:13 UTC
    Thanks everyone. I did need as noted to initialize $_ to get s/// to work. I actually had initialized @rex, but inadvertently deleted it in my original post. Thanks again!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2024-04-18 18:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found