Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: Skip problematic lines while populating database

by AnomalousMonk (Archbishop)
on Aug 17, 2020 at 15:55 UTC ( [id://11120833]=note: print w/replies, xml ) Need Help??


in reply to Re: Skip problematic lines while populating database
in thread Skip problematic lines while populating database

$sth_insert->execute( @$row );

The only thing to look out for here is that there is a gap in the sequence of elements to be inserted. One might write instead (untested):
    $sth_insert->execute(@{ $row }[ 0 .. 4, 6 .. 25 ]);


Give a man a fish:  <%-{-{-{-<

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (2)
As of 2024-04-25 07:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found