- or download this
open F, '<', $in_file or die "Can't open $in_file: $!";
- or download this
while (<F>) {
push @lines, $_ unless /espf\[/
}
- or download this
return undef if not defined $in_file;
if (-e $in_file) {
...
} else {
warn "bad file $in_file submitted, but does not exist\n";
}
- or download this
$ myprogram file1 file2 file3
- or download this
while (<>) {
# do something with $_
}