From: Rafael Garcia-Suarez Date: Wed, 18 Oct 2006 14:30:57 +0000 (+0000) Subject: Fix prototype to mimic built-in in perlsub examples X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d822fdf9523774354b4abafec1aa0c8639788575;p=p5sagit%2Fp5-mst-13.2.git Fix prototype to mimic built-in in perlsub examples p4raw-id: //depot/perl@29037 --- diff --git a/pod/perlsub.pod b/pod/perlsub.pod index 7a51e5c..4c7dcd6 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