in reply to Re^4: While problem
in thread While problem
You seem to be highly confused about variables.
$words and @words are two different variables in Perl. You are using $words[0], which accesses the variable @words. Maybe you want to read and learn perlvar and the syntax of variable names.
|
|---|