Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: DBI reports too many bind variables

by Juerd (Abbot)
on May 24, 2005 at 17:47 UTC ( [id://460103]=note: print w/replies, xml ) Need Help??


in reply to DBI reports too many bind variables

my @player_rec = split '|';

print join '|', @player_rec;
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' }

Replies are listed 'Best First'.
Re^2: DBI reports too many bind variables
by davidrw (Prior) on May 24, 2005 at 18:00 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://460103]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-04-19 21:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found