Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Using '#' at the beginning of a format?

by Tux (Monsignor)
on Jan 10, 2013 at 13:34 UTC ( #1012662=note: print w/ replies, xml ) Need Help??


in reply to Using '#' at the beginning of a format?

use 5.14.1; use warnings; format STDOUT_TOP = @ Size Price "#" @ ---- ----- "#" . format STDOUT = @>>>>>> @###.## $a, $b . my %pizza = ( Small => 12.34, Medium => 57.78, Large => 90.12, ); while (($a, $b) = each %pizza) { write; } => # Size Price # ---- ----- Small 12.34 Medium 57.78 Large 90.12

Enjoy, Have FUN! H.Merijn


Comment on Re: Using '#' at the beginning of a format?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2014-08-31 07:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (294 votes), past polls