Have you considered what potentially happens to your sub if you strike a symbolic link-link-link-link-link-link? You need a -l test in there to avoid following sym links or you will quite probably end up going infinite. Also while -w is generally fine warnings get triggered if you have a recursive sub that recurses more than 100 levels deep if I recall correctly.
cheers
tachyon
s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
In reply to Re: Re: recursive sub
by tachyon
in thread recursive sub
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |