This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bring '*' prototype closer to how it behaves internally
[perl5.git]
/
lib
/
FileHandle.pm
diff --git
a/lib/FileHandle.pm
b/lib/FileHandle.pm
index
72ecdac
..
eec9b61
100644
(file)
--- a/
lib/FileHandle.pm
+++ b/
lib/FileHandle.pm
@@
-112,7
+112,7
@@
FileHandle - supply object methods for filehandles
use FileHandle;
$fh = new FileHandle;
- if ($fh->open
"< file"
) {
+ if ($fh->open
("< file")
) {
print <$fh>;
$fh->close;
}