develooper Front page | perl.perl5.porters | Postings from April 2018

Re: [perl #133109] push on scalar forbidden: why?

Thread Previous | Thread Next
From:
L A Walsh
Date:
April 14, 2018 02:01
Subject:
Re: [perl #133109] push on scalar forbidden: why?
Message ID:
5AD15D9C.5020302@tlinx.org
Dan Book via RT wrote:

> One of the biggest problems with it is that there's no correct way to handle an object with both hash and array overloads defined.
>   
I disagree, in so much as if there is ambiguity, it is IMO, inherently an
error (incomplete specification) -- the computer cannot infer proper
function by context.

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