in reply to Why are this pattern match failing ?
not embarassing: $string =~ m/pattern/
Oh, wait, that doesn't answer the question. :) I don't know why $d[0] is uninitialized... perhaps your database returned an undef or there were no rows to fetch, or you never did an execute. Who can tell. From the code snipped, eq vs =~ is the only real problem I can see.
UPDATE: JavaFan, OIC. Yeah, I missed that.
-Paul
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Why are this pattern match failing ?
by JavaFan (Canon) on Apr 03, 2009 at 10:38 UTC |