Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: foreach doesn't select array element

by Anonymous Monk
on May 04, 2009 at 08:52 UTC ( [id://761675]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # ALL SAME
     dump(@$fldref[TXT]);
    ...
     }
     my ( $foobar ) = @$fldref[TXT];
     dump($foobar);
    
  2. or download this
    
     foreach my $tmp (@{ $fldref[TXT][0] }) {
        dump($tmp);
     }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-04-19 07:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found