Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Contents of array - Perl DBI question

by moritz (Cardinal)
on Aug 02, 2012 at 18:24 UTC ( #985088=note: print w/ replies, xml ) Need Help??


in reply to Contents of array - Perl DBI question

Because push(@fields_B, \@record_B); pushes an array reference to @fields_B, and that's how array references stringify. See perllol, perlreftut, perlref, perldsc.

Als you probably should write

while(my @row_B = $sth_B->fetchrow_array()) {
   ...
}

to avoid over-sharing of @row_B.


Comment on Re: Contents of array - Perl DBI question
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2014-11-29 07:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (204 votes), past polls