in reply to Re: strict
in thread strict
but i cant seem to makemy $line; my @lines;
work am i doing something wrong?? i keep getting this error#!/opt/perl5/bin/perl -w use strict; #my $line; my @lines; while(my $line=<> and $line ne ".\n"){ push @lines,$line; } foreach(reverse @lines){ print; }
snowriderGlobal symbol "$line" requires explicit package name at day1_test.1.pl + line 8. Value of <HANDLE> construct can be "0"; test with defined() at day1_te +st.1.pl line 8. Execution of day1_test.1.pl aborted due to compilation errors.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: strict
by arturo (Vicar) on Feb 02, 2001 at 01:47 UTC | |
by snowrider (Pilgrim) on Feb 02, 2001 at 01:52 UTC |