As someone else pointed out, {} arround $fh will work.$fh=IO::File->new(">/tmp/foo2.txt"); printf($fh <<"__EOFOO__", $stuff, $morestuff); Some stuff: %.4f Some more stuff %.4f __EOFOO__
In reply to Re^3: IO::File handle and printf
by rakzer
in thread IO::File handle and printf
by rakzer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |