develooper Front page | perl.perl5.porters | Postings from July 2012

Re: [perl #113554] my() with empty list causes weird error

Thread Previous | Thread Next
From:
Eric Brine
Date:
July 8, 2012 00:20
Subject:
Re: [perl #113554] my() with empty list causes weird error
Message ID:
CALJW-qG1KJoHh+Fz_7d+tRYP9FTLkZ4MQ--HoUK7OT0hZv=fqA@mail.gmail.com
On Sun, Jul 8, 2012 at 2:02 AM, Aristotle Pagaltzis <pagaltzis@gmx.de>wrote:

> * Darin McBride <dmcbride@cpan.org> [2012-07-08 06:50]:
> > Personal opinion, but "my ()" makes no semantic sense even if it makes
> > syntactical sense.
>
> What about its semantics is nonsensical? It seems perfectly well-defined
> to me, the concept of “zero” is not exactly novel.
>
> (Do you mean it makes no intentional sense?I would agree with that.


Actually, I already gave an example where someone might use it.

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