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

RE: RE: RE (2): pack / unpack woes

by merlyn (Sage)
on Aug 24, 2000 at 18:37 UTC ( #29424=note: print w/replies, xml ) Need Help??


in reply to RE: RE (2): pack / unpack woes
in thread pack / unpack woes

...although that won't truncate elements that are too big :(
It will if you use
my $tmpl = "%-3.3s|%-4.4s|%-5.5s";
The value after the dot gives a "maximum width".

-- Randal L. Schwartz, Perl hacker

Log In?
Username:
Password:

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

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 2022-05-16 19:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (63 votes). Check out past polls.

    Notices?