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
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
470722b
)
fix mode used to open /dev/tty in perlop example
author
Ricardo Signes
<rjbs@cpan.org>
Wed, 25 Apr 2012 02:23:18 +0000
(22:23 -0400)
committer
Ricardo Signes
<rjbs@cpan.org>
Wed, 25 Apr 2012 02:27:26 +0000
(22:27 -0400)
(Thanks for reporting this, Tom Christiansen!)
pod/perlop.pod
patch
|
blob
|
blame
|
history
diff --git
a/pod/perlop.pod
b/pod/perlop.pod
index
2152f13
..
7b2d0a3
100644
(file)
--- a/
pod/perlop.pod
+++ b/
pod/perlop.pod
@@
-1768,7
+1768,7
@@
failure.
Examples:
- open(TTY, "+
>
/dev/tty")
+ open(TTY, "+
<
/dev/tty")
|| die "can't access /dev/tty: $!";
<TTY> =~ /^y/i && foo(); # do foo if desired