Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Perl File Parsing - My Code Works, but it's Ugly!

by golux (Chaplain)
on May 31, 2015 at 19:58 UTC ( [id://1128498]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
            $outfolder = "REPORT_output\_$year\_$mon\_$mday\_\_$hour\_$min
    +\_$sec";
    
  2. or download this
            $outfolder = "REPORT_output_${year}_${mon}_${mday}__${hour}_${
    +min}_$sec";
    
  3. or download this
    my $msg   = "Hello world";
    my $color = 101;                   # Red background
    print "\e[${color}m $msg \e[m\n";  # Embed $color in escape sequence
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-04-18 03:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found