Help for this page

Select Code to Download


  1. or download this
    #!usr/bin/perl
    use strict;
    ...
    Value of <HANDLE> construct can be "0"; test with defined() at C:\User
    +s\mmtho\Documents\PerlProjects\Monks\test_myVar_inwhile.pl line 5.
    Global symbol "$line" requires explicit package name (did you forget t
    +o declare "my $line"?) at C:\Users\mmtho\Documents\PerlProjects\Monks
    +\test_myVar_inwhile.pl line 5.
    Execution of C:\Users\mmtho\Documents\PerlProjects\Monks\test_myVar_in
    +while.pl aborted due to compilation errors.
    
  2. or download this
    #!usr/bin/perl
    use strict;
    ...
    __END__
    Global symbol "$line" requires explicit package name (did you forget t
    +o declare "my $line"?) at C:\Users\mmtho\Documents\PerlProjects\Monks
    +\test_myVar_inwhile_ver2.pl line 6.
    Execution of C:\Users\mmtho\Documents\PerlProjects\Monks\test_myVar_in
    +while_ver2.pl aborted due to compilation errors.
    
  3. or download this
    #!usr/bin/perl
    use strict;
    ...
    Value of <HANDLE> construct can be "0"; test with defined() at C:\User
    +s\mmtho\Documents\PerlProjects\Monks\test_myVar_inwhile_ver2.pl line 
    +7.
    do somehing with non blank line
    do somehing with non blank line
    
  4. or download this
    #!usr/bin/perl
    use strict;
    ...
    do somehing with non blank line
    do somehing with non blank line
    do somehing with non blank line