in reply to While problem
"Can someone help me?"
You could fix the problems perl tells you about when you try to run the script?
Variable "$mio" is not imported at x.pl line 18. Variable "$mio" is not imported at x.pl line 22. Variable "@words2" is not imported at x.pl line 31. Global symbol "$mio" requires explicit package name at x.pl line 18. Global symbol "$mio" requires explicit package name at x.pl line 22. Global symbol "$line" requires explicit package name at x.pl line 30. Global symbol "@words2" requires explicit package name at x.pl line 31 +. Global symbol "$line" requires explicit package name at x.pl line 31. Global symbol "$line2" requires explicit package name at x.pl line 34. Global symbol "@words" requires explicit package name at x.pl line 38. Global symbol "$line2" requires explicit package name at x.pl line 38. Global symbol "@words" requires explicit package name at x.pl line 43. Execution of x.pl aborted due to compilation errors.
You've been told this before. Also, use the three argument open, and report on errors (for exmaple ... or die "cannot open < input.txt: $!";).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: While problem
by pabla23 (Novice) on Oct 27, 2014 at 09:59 UTC | |
by marto (Cardinal) on Oct 27, 2014 at 10:06 UTC | |
by Corion (Patriarch) on Oct 27, 2014 at 10:07 UTC | |
by Loops (Curate) on Oct 27, 2014 at 10:10 UTC | |
by pabla23 (Novice) on Oct 27, 2014 at 10:34 UTC | |
by Corion (Patriarch) on Oct 27, 2014 at 10:38 UTC | |
by Loops (Curate) on Oct 27, 2014 at 10:50 UTC |