|We don't bite newbies here... much|
Re: hash to count wordsby NetWallah (Abbot)
|on Sep 13, 2012 at 14:30 UTC||Need Help??|
Please use "code" tags correctly, as described in Writeup Formatting Tips.
Your regex "$word =~ s/^\w\x\//g;" is invalid.
you probably want:
Your re-initilazation of "%hash=()" within the loop makes the hash useless.
Declare it outside the loop, and add data to it using
Later , you can get a list of words found by accessing:
Please try to follow davido's excellent advice in response to your previous question on the same subject.
I hope life isn't a big joke, because I don't get it.