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

Re: treat each result line individually in SELECT statement Perl-Mysql

by cavac (Curate)
on Oct 03, 2018 at 11:18 UTC ( #1223452=note: print w/replies, xml ) Need Help??


in reply to treat each result line individually in SELECT statement Perl-Mysql

Something like this?

my $first = 1; while((my $ref = $sth->fetchrow_arrayref)) { if($first) { $first = 0; next; } print Dumper($ref), "\n"; }
"For me, programming in Perl is like my cooking. The result may not always taste nice, but it's quick, painless and it get's food on the table."
  • Comment on Re: treat each result line individually in SELECT statement Perl-Mysql
  • Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2021-02-25 00:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?