Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 chanting in the Monastery: (8)
As of 2015-03-05 21:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (152 votes), past polls