Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: printing array in scalar context does not work on server

by Khen1950fx (Canon)
on Aug 08, 2011 at 05:46 UTC ( [id://919147]=note: print w/replies, xml ) Need Help??


in reply to printing array in scalar context does not work on server

Using Array::PrintCols:
#!/usr/bin/perl use strict; use warnings; use Array::PrintCols; my @content = qw( 123 456 789 012 345 678 901 ); my $size = scalar @content; print"Array size: $size\n"; print_cols \@content, -1, 0, 1;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (7)
As of 2024-04-23 15:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found