develooper Front page | perl.perl5.porters | Postings from August 2019

[perl #134365] [PATCH] Typo in perlsub.pod

From:
Tony Cook via RT
Date:
August 27, 2019 04:45
Subject:
[perl #134365] [PATCH] Typo in perlsub.pod
Message ID:
rt-4.0.24-14666-1566881115-23.134365-15-0@perl.org
On Mon, 19 Aug 2019 07:11:15 -0700, grinnz@gmail.com wrote:
> On Mon, Aug 19, 2019 at 8:28 AM James E Keenan via RT <
> perlbug-followup@perl.org> wrote:
> 
> > > >>
> > > >> If I knew what 'else "foo"' meant, I'd work that into a rewording
> > > >> something like this:
> > > >>
> > > >> #####
> > > >> foo;        # if and only if sub foo has been predeclared,
> > > >>              # then this is like foo() above
> > > >>              # otherwise, _______
> > > >> #####
> > > >>
> > > >
> >
> > Okay.  So, how would I fill in the blank after 'otherwise' above?
> >
> 
> It means it is otherwise interpreted as a bareword string "foo", though I'm
> not sure how relevant this is to point out in the era of strict 'subs'.
> 
> -Dan

Something like this?

Tony


---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=134365



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About