projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f00d1d6
)
Fix prototype to mimic built-in in perlsub examples
author
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Wed, 18 Oct 2006 14:30:57 +0000
(14:30 +0000)
committer
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Wed, 18 Oct 2006 14:30:57 +0000
(14:30 +0000)
p4raw-id: //depot/perl@29037
pod/perlsub.pod
patch
|
blob
|
history
diff --git
a/pod/perlsub.pod
b/pod/perlsub.pod
index
7a51e5c
..
4c7dcd6
100644
(file)
--- a/
pod/perlsub.pod
+++ b/
pod/perlsub.pod
@@
-1054,7
+1054,7
@@
corresponding built-in.
sub myopen (*;$) myopen HANDLE, $name
sub mypipe (**) mypipe READHANDLE, WRITEHANDLE
sub mygrep (&@) mygrep { /foo/ } $a, $b, $c
- sub myrand (
$)
myrand 42
+ sub myrand (
;$)
myrand 42
sub mytime () mytime
Any backslashed prototype character represents an actual argument