Think about Loose Coupling | |
PerlMonks |
Re: DBI reports too many bind variablesby Juerd (Abbot) |
on May 24, 2005 at 17:47 UTC ( [id://460103]=note: print w/replies, xml ) | Need Help?? |
my @player_rec = split '|';
See what happens. Note that split's first argument is either a string containing a single chr(32) (space), or a regex. Your string is seen as a regex. The regex matches either nothing or nothing, and thus matches at every position. Consider DBIx::Simple, by the way. Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }
In Section
Seekers of Perl Wisdom
|
|