- or download this
while (<PATTERN>){
# do stuff here
}
- or download this
open (PATTERN, "<", "$html_dir/$FigFile/$DirFile") or die "Unable to
+open pattern file: $1";
- or download this
open my $PATTERN, "<", "$html_dir/$FigFile/$DirFile"
or die "Unable to open pattern file: $!";
- or download this
DoSomethingWithFile($PATTERN);
- or download this
sub DoSomethingWithFile {
my $FH = shift @_;
...
# do stuff here
}
}