in reply to Side Effects
Most likely, somehow, $g::TaskList[0] is an alias to $_ (although I'm not entirely sure how that happened). And while(<LOG>) does not localise $_, meaning that you've just clobbered $_ through the while. Try putting your body into:
I'm betting the problem goes away here.{ local $_; $Body .= "$_<br>" while (<LOG>); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Side Effects
by ysth (Canon) on Apr 07, 2005 at 04:21 UTC |