Is there a way to check if i'm dealing with a link or a file ?Sure is, just check with -l e.g
print "yup, it's a link" if -l $filename;
_________
broquaint
In reply to Re: deleting links but not files
by broquaint
in thread deleting links but not files
by meirgold
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |