Your code still has the "split, <STDIN>", so it doesn't really address the problem the OP is having. Advice on playing it safe is certainly not bad, but this thread is in the context of a Learning Perl exercise, taint mode is probably a later chapter...
In reply to Re^4: remove files
by haukex
in thread remove files
by catfish1116
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |