Data::Dump brings in dd, sorry about that :)
. I don't know what you were trying to point out in those results; perhaps you can clarify.
Huh?
If you want to figure out what is going on, you start by gathering information -- the beginning
Then you either see your problem (wrong value, wrong condition, wrong assumption...) or look for more/different data or you throw away the whole thing and start over
I'm not sure where your confusion lies so I can't clarify
Maybe its as simple as
while( tenSecondsHasPassed() ){ doStuff(); } sub tenSecondsHasPassed { my $newtime = time; my $diff = $newtime - $lasttime; ... ## if expired "end loop" ## if not ten seconds, sleep to make it ten seconds ## if expired "end loop" ## otherwise continue looping }
In reply to Re^3: while loop acting up, though I'm not sure how
by Anonymous Monk
in thread while loop acting up, though I'm not sure how
by msh210
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |