in reply to Re^2: Syntax error - "my" within foreach loop
in thread Syntax error - "my" within foreach loop
For example, lusers could still screw this up, but at least the program's author would have tried:
... print "Type a series of words, separated by spaces, ending with a retu +rn:\n"; my $words = <STDIN>; chomp $words; my @words = split (/ /, $words); ...
|
|---|