Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Supressing zero values in formatted reports

by robin (Chaplain)
on Dec 28, 2001 at 15:41 UTC ( [id://134853]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
           Picture fields that begin with ^ rather than @ are treated
           specially.  With a # field, the field is blanked out if
           the value is undefined.  For other field types, the caret
           enables a kind of fill mode.
    
  2. or download this
    { no warnings;
    format STDOUT =
    @<<<<<<<<<<<<<   ^####   @#####.##
    $output[$i], $output[$i+1], $output[$i+2]/1024
    .
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2024-04-20 02:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found