punch_card_don has asked for the wisdom of the Perl Monks concerning the following question:
Staring at code too long, can't see why, when I run my script with the last line commented out, it runs fine and correctly prints the three expected time elements ($composite_time is dd_hh:mm:ss), but when I run it with the third line commented in, it hangs and eventually returns a server error.
What doth mine eyes not see?@time = split(/:/, $composite_time); print "<br>@time<br>\n"; ($p3_day_hr, $p3_min, $p3_sec) = split(/:/, $composite_time);
Forget that fear of gravity,
Get a little savagery in your life.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Split into @array works, into ($val1, $val2, ...) doesn't.
by chester (Hermit) on Sep 19, 2005 at 23:37 UTC | |
|
Re: Split into @array works, into ($val1, $val2, ...) doesn't.
by samtregar (Abbot) on Sep 20, 2005 at 00:12 UTC | |
by socketdave (Curate) on Sep 20, 2005 at 00:30 UTC | |
|
Re: Split into @array works, into ($val1, $val2, ...) doesn't.
by punch_card_don (Curate) on Sep 20, 2005 at 00:49 UTC | |
|
Re: Split into @array works, into ($val1, $val2, ...) doesn't.
by polypompholyx (Chaplain) on Sep 20, 2005 at 10:00 UTC | |
by punch_card_don (Curate) on Sep 21, 2005 at 15:01 UTC |