![]() |
|
Welcome to the Monastery | |
PerlMonks |
Re: output caught in memoryby Wookie (Beadle) |
on Jul 26, 2001 at 20:33 UTC ( [id://100040]=note: print w/replies, xml ) | Need Help?? |
The easiest way to make sure the write occurs is to write it in two lines - and set your write buffers to instant write. So try this: Alternatively, you can try to build the entire entry into a variable first - then write it. So: I hope this helps :). Update: Remove quotes around scalar localtime in first code block (thanks MZSanford) game(Wookie,opponent) eq 'Wookie' ? undef $problem : remove_limbs(arms,opponent);
In Section
Seekers of Perl Wisdom
|
|