Jarle, your'e the man,

I been using wcols a lot, but only when writing to data to files. It never crossed my mind using it to stdout.

Thanx,
Kare



On Wed, 2006-11-08 at 10:46 +0000, Jarle Brinchmann wrote:
wcols is your friend:

$a= sequence(5)
$b=5-sequence(5)
wcols $a, $b

It won't give you your [] but you'll survive that no doubt. If you 
desperately want it:

print cat($a, $b)->xchg(0, 1)

				Cheers,
					Jarle


On 8 Nov 2006, at 10:33, Kåre Edvardsen wrote:

>  This one has always bothered me. Is there an easy way to print out on 
> the screen two equal length 1D piddles side by side? I want it to look 
> like something this to visually compare pair by pair:
>
>  [0 2.1]
>  [1 2.3]
>  [2 2.6]
>  [3 2.2]
>  [4 3.0]
>  [5 2.7]
>
>  instead of:
>
>  [0 1 2 3 4 5] [2.1 2.3 2.6 2.2 3.0 2.7]
>
>  Best regards,
>  Kare _______________________________________________
> Perldl mailing list
> [email protected]
> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl


_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to