in reply to DBI reports too many bind variables
If you add a print join ":", @player_rec; in there you'll see that it split up every single character -- this is because the pipe is treated as a special regex character (behaves like OR), so if you truly need a pipe (as in this case), it just simply needs to be escaped:my @player_rec = split '|';
my @player_rec = split '\|';
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: DBI reports too many bind variables
by Juerd (Abbot) on May 24, 2005 at 17:55 UTC | |
by davidrw (Prior) on May 24, 2005 at 18:06 UTC |