The outer $word is shifted in from the command line, so is tainted. Detaint it by checking and assigning. ($word) = $word =~ /^(\w+)$/ or die 'Bad User!'; for instance.
Update: Overlooked the backticks, you should also use absolute /path/to/spelled or set $ENV{PATH} as merlyn and Ovid suggest.
After Compline,
Zaxo
In reply to Re: Insecure dependency in `` while running with -T switch
by Zaxo
in thread Insecure dependency in `` while running with -T switch
by Plankton
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |