- or download this
next until $. >1;
- or download this
next if $_ = /^done/;
- or download this
next if $_= $_=~/^done/;
- or download this
last if /^done/;
#or
#last if $_=~/^done/;
- 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
}
- 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
}