I'm reading "learning Perl" and have tried some of the exercises and have
had some sucsess runnitn them on Win(NT). But I've had some problems getting
them to work on a linux OS.
The following hash:
%words =qw(
me my
I it
one two
be been
);
Print "$words{me}"
returns the following error message:
"Can't modify not in scalar assignment at hash line (number), near ");"
As mentioned, this works on Win(NT) but not RH Linux. I know there are major
differences between the two versions. But I expected the basics to work. Can
anyone give me some direction with this.
Thanks in advance.