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

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

Thread Previous | Thread Next
From:
Dan Book
Date:
August 19, 2019 14:11
Subject:
Re: [perl #134365] [PATCH] Typo in perlsub.pod
Message ID:
CABMkAVUNkOW9R43FtjFAsdiL65fuokU740JLawMOTWLffoDT7Q@mail.gmail.com
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

Thread Previous | Thread Next


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