Help for this page

Select Code to Download


  1. or download this
      next until $. >1;
    
  2. or download this
        next if $_ =  /^done/;
    
  3. or download this
        next if $_= $_=~/^done/;
    
  4. or download this
        last if /^done/;
        #or
        #last if $_=~/^done/;
    
  5. or download this
    my @contents;
    my $header=<PAST>; # extract the first line
    ...
        #chomp;            # uncomment if you dont want newlines in conten
    +ts.
        push @contents,$_; # add the line to the buffer
    }
    
  6. or download this
    my @contents;
    my $header=<PAST>; # extract the first line
    ...
        #chomp;            # uncomment if you dont want newlines in conten
    +ts.
        push @contents,$_; # add the line to the buffer
    }