Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Output an array of values in column format?

by trizen (Hermit)
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; }

Replies are listed 'Best First'.
Re^2: Output an array of values in column format?
by bobdabuilda (Beadle) 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 rifling through the Monastery: (4)
As of 2016-10-01 23:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?






    Results (9 votes). Check out past polls.