in reply to Local tests reveal no syntax error but...

try running your script from the command line to see what error the parser is finding.

in your case, it's that the chunk you added uses $words before you declare it with my():

Global symbol "$words" requires explicit package name at jerry.pl line + 21.

anders pearson

Replies are listed 'Best First'.
Re: Re: Local tests reveal no syntax error but...
by jerrygarciuh (Curate) on Sep 14, 2001 at 23:57 UTC
    Yeah, I know about that part it does that when it is working too, I thought using my took care of the prob, especially since the script *was* working online with strict before I added the password block. jg
      Howdy!

      nononono...

      The snippet you added refers to "$word" *before* you get to the line that says "my $word".

      That first reference is using the global $word.

      Try inserting "my $word;" before the snippet you added.

      yours,
      Michael