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!