ryan has asked for the wisdom of the Perl Monks concerning the following question:
I am using formatting to output some information, I was wishing to supress the display of all zero (0) values.
Setting the variables concerned to blank '' or undefing them only causes errors.
Thanks ... Ryan
Setting the variables concerned to blank '' or undefing them only causes errors.
Can it be done?format top = User Emails Size (Kb) ============== ======== =========== . format DISPLAY = @<<<<<<<<<<<<< @#### @#####.## $output[$i], $output[$i+1], $output[$i+2]/1024 .
Thanks ... Ryan
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Supressing zero values in formatted reports
by robin (Chaplain) on Dec 28, 2001 at 15:41 UTC | |
by Fengor (Pilgrim) on Dec 28, 2001 at 15:50 UTC | |
by ryan (Pilgrim) on Dec 28, 2001 at 15:50 UTC | |
Re: Supressing zero values in formatted reports
by Fengor (Pilgrim) on Dec 28, 2001 at 14:04 UTC | |
by ryan (Pilgrim) on Dec 28, 2001 at 14:57 UTC | |
by Fengor (Pilgrim) on Dec 28, 2001 at 15:14 UTC | |
by ryan (Pilgrim) on Dec 28, 2001 at 15:22 UTC | |
by Fengor (Pilgrim) on Dec 28, 2001 at 15:32 UTC | |
by ryan (Pilgrim) on Dec 28, 2001 at 15:40 UTC |
Back to
Seekers of Perl Wisdom