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 reply to Re: How to print two different formats to same file without getting an error?
by MidLifeXis
in thread [SOLVED] How to print two different formats to same file without getting an error?
by nysus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |