Help for this page

Select Code to Download


  1. or download this
    sub scope_test{
      my @data_in = <DATA>;
    ...
      }
      print "$_" for @data_out;
    }
    
  2. or download this
    sub scope_test{
      my @data_out;
    ...
      }
      print "$_" for @data_out;
    }
    
  3. or download this
    sub scope_test{
      my @data_out;
      call_back(\@data_out, $_) while (<DATA>);
      print "$_" for @data_out;
    }