Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Supressing zero values in formatted reports

by robin (Chaplain)
on Dec 28, 2001 at 10:41 UTC ( #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? | Other CB clients
Other Users?
Others about the Monastery: (2)
As of 2021-12-08 01:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (34 votes). Check out past polls.

    Notices?