why don't you print out $_ and see what it really contains?
Also, see Basic debugging checklist to find out how to debug your code when it goes wrong.
In reply to Re^2: foreach loop to untar multiple files
by RichardK
in thread foreach loop to untar multiple files
by fasoli
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |