"be consistent" | |
PerlMonks |
Re: How to print two different formats to same file without getting an error?by MidLifeXis (Monsignor) |
on Feb 05, 2014 at 18:32 UTC ( [id://1073585]=note: print w/replies, xml ) | Need Help?? |
It looks like the format, select, and write command documentation may have something to say about it. You would (untested) need to set the current output handle with select, set the format with $~ (and others - see select), and then write to the filehandle. See also Format Variables for an example of how to set the formats in a (mostly) unintended side-effect free way. --MidLifeXis
In Section
Seekers of Perl Wisdom
|
|