develooper Front page | perl.perl5.porters | Postings from November 2015

Re: [perl #126715] Deprecate barewords?

Thread Previous | Thread Next
From:
Eric Brine
Date:
November 23, 2015 18:43
Subject:
Re: [perl #126715] Deprecate barewords?
Message ID:
CALJW-qEafBq+TLn5pDkwMX+PsXn8cc-xN8gD8F58hqpO0XNiOA@mail.gmail.com
On Mon, Nov 23, 2015 at 9:30 AM, Abigail <abigail@abigail.be> wrote:

> I use
>
>     print STDERR "bla bla";
>
> quite often.
>

Neither "print" nor "STDERR" are barewords in that program. A bareword is
an identifier treated as a string since it has no other meaning. "print" is
treated as an operator, and "STDERR" as a glob(?).

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