Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: "You passed 0 parameters where 1 required" error using DBD::CSV, an INNER JOIN, and a WHERE clause

by Tux (Canon)
on Jun 22, 2011 at 12:05 UTC ( [id://910891]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    =head2 Changes in DBI 1.609 (svn r12816) 8th June 2009
    
    ...
        table names case sensitive when quoted, insensitive when unquoted
        workaround a bug in SQL::Statement (temporary fix) related
          to the "You passed x parameters where y required" error
    
  2. or download this
      unless ((my $req_prm = $stmt->params ()) == (my $nparm = @$params)) 
    +{
          my $msg = "You passed $nparm parameters where $req_prm required"
    +;
          $sth->set_err ($DBI::stderr, $msg);
          return;
          }
    
  3. or download this
      unless ((my $req_prm = $stmt->params ()) == (my $nparm = @$params)) 
    +{
          my $msg = "You passed $nparm parameters where $req_prm required"
    +;
          warn $msg;
          }
    

Log In?
Username:
Password:

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

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

    No recent polls found