diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-10-18 14:30:57 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-10-18 14:30:57 +0000 |
commit | d822fdf9523774354b4abafec1aa0c8639788575 (patch) | |
tree | 5a2c38a0a96a5683d4607ef85b9fadeab6271506 /pod/perlsub.pod | |
parent | f00d1d61e031a2a79e331ee3ee031a4f658d26e8 (diff) | |
download | perl-d822fdf9523774354b4abafec1aa0c8639788575.tar.gz |
Fix prototype to mimic built-in in perlsub examples
p4raw-id: //depot/perl@29037
Diffstat (limited to 'pod/perlsub.pod')
-rw-r--r-- | pod/perlsub.pod | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlsub.pod b/pod/perlsub.pod index 7a51e5cabb..4c7dcd6209 100644 --- 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 |