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

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

Thread Previous | Thread Next
Eric Brine
July 8, 2012 00:20
Re: [perl #113554] my() with empty list causes weird error
Message ID:
On Sun, Jul 8, 2012 at 2:02 AM, Aristotle Pagaltzis <>wrote:

> * Darin McBride <> [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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About