Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Using multliple formats when writing to a file

by GotToBTru (Prior)
on Jun 06, 2014 at 16:41 UTC ( [id://1089063]=note: print w/replies, xml ) Need Help??


in reply to Using multliple formats when writing to a file

open (REPORT,">$filename") || die "error"; select(REPORT); ... $^ = "NEWPAGE"; ... foreach [outer loop] $~ = "FIRST_FORMAT"; write; foreach [inner loop] $~ = "SECOND_FORMAT"; write; [end inner loop] [end outer loop] close (REPORT) || die ...
1 Peter 4:10

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (9)
As of 2024-04-19 06:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found