It can. Remember you're checking if that 1 is still 1 on every loop. How long does a file usually stick around before being deleted?
Update: And of course the file test itself. Depending on how your disk caching is happening your results may vary.
My first big project had files being written across Samba
mounts and then -e tests as well. CPU time wasn't much
of factor, but the network could get clogged.
Getting the various perl programs talking directly to
each other was much faster. So my experience might have
nothing to do with your stuff
In reply to Re: Re: Re: Infinte perl script
by lemming
in thread Infinte perl script
by r.joseph
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |