- or download this
open FH, '<', 'myfile';
print FH, "something\n";
- or download this
No comma allowed after filehandle at ...
- or download this
open my $fh, '<', 'myfile';
print $fh, "something\n";
- or download this
open local *FH, '<', 'myfile';
while (<FH>) {
# do something
}
close FH;
- or download this
#!/usr/bin/perl
...
is \@bar, [$bar], 'good: got $bar';
done_testing;