in reply to Crossword helper

When I run it, I get the following error:

exists operator argument is not a HASH element at ./crossword.pl line 61.

Any idea why?

From perl -v:

This is perl, version 5.005_03 built for i386-linux

Replies are listed 'Best First'.
exists on arrays (Re: Crossword helper)
by tye (Sage) on Jan 28, 2001 at 05:28 UTC

    (From memory) Perl 5.6 extended the exists function to work on array elements and functions. Replace it with defined to get nearly the same meaning, close enough to the same to work for this script.

            - tye (but my friends call me "Tye")
      That did it.

      Thanks!