in reply to Re: DBI reports too many bind variables
in thread DBI reports too many bind variables

my @player_rec = split '\|';

Although that fixes the problem, it's still bad style to write a regex as a string. Use /\|/ instead of '\|' here. Note that split / / and split ' ' in fact ARE different!

Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }

Replies are listed 'Best First'.
Re^3: DBI reports too many bind variables
by davidrw (Prior) on May 24, 2005 at 18:06 UTC
    ah. yes -- thanks for explicitly noting that (i actually had /\|/ in my head but that part got lost somewhere between brain and fingertips..) -- it definitely is an important disctinction (if anyone reading this doesn't know the difference please read preldoc -f split carefully--it's well worth the read).