Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2017-09-25 04:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (276 votes). Check out past polls.

    Notices?