- or download this
while (<FILE1>)
{ $hline=<FILE1>;
push (@hlines,$hline);
}
- or download this
@hlines = <FILE1>;
- or download this
my $FILE1;
- or download this
open (FILE1, "$f1") or die "Argh! File not opened! $!";
- or download this
open (FILE1, "<", $f1) or die "Argh! File not opened! $!";
- or download this
#!/root/bin/perl
use strict;
...
chomp $fn;
return $fn;
}