Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

How to print an array of multidimensional arrays with a for or foreach loop

by thanos1983 (Parson)
on Aug 10, 2014 at 23:25 UTC ( #1096939=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl 
    use strict;
    ...
    This is the $column: element-1
    This is the $column: element-2
    Can't use string ("element-3") as an ARRAY ref while "strict refs" in 
    +use at arraysarray.pl line 15.
    
  2. or download this
    #!/usr/bin/perl 
    use strict;
    ...
    This is the $column: element-1
    This is the $column: element-2
    This is the $column: element-3
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1096939]
Front-paged by GotToBTru
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2019-11-22 15:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (113 votes). Check out past polls.

    Notices?