Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Output an array of values in column format?

by trizen (Friar)
on Mar 28, 2012 at 06:10 UTC ( #962080=note: print w/ replies, xml ) Need Help??


in reply to Output an array of values in column format?

my @array = 'a' .. 'x'; while (@array) { my @row = splice(@array, 0, 4); format STDOUT = @<<<<<<<<<<<< @<<<<<<<<<<<< @<<<<<<<<<<<< @<<<<<<<<<<<< @row . write; }


Comment on Re: Output an array of values in column format?
Download Code
Re^2: Output an array of values in column format?
by bobdabuilda (Sexton) on Mar 28, 2012 at 06:29 UTC

    Thanks for the nice quick response, Trizen... very much appreciated, and exactly what I needed, tyvm!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2014-07-25 02:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (167 votes), past polls