in reply to Re^2: IO::File handle and printf
in thread IO::File handle and printf
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__
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: IO::File handle and printf
by ikegami (Patriarch) on Nov 03, 2010 at 20:45 UTC | |
|
Re^4: IO::File handle and printf
by Anonymous Monk on Nov 03, 2010 at 14:13 UTC |