Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 musing on the Monastery: (5)
As of 2014-07-24 05:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (157 votes), past polls