Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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

by Tux (Abbot)
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1012662]
help
Chatterbox?
[choroba]: Google suggests Bytes::Random:: Secure, but it's so 2015
[Yaerox]: At least I believe it's safer then Math::Random:: Secure (2010) tho. Thanks.

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (10)
As of 2016-12-06 10:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (102 votes). Check out past polls.