AUTOLOAD

Adrian Howard adrianh at quietstars.com
Wed Jan 17 12:45:34 GMT 2007


On 17 Jan 2007, at 12:22, Dirk Koopman wrote:
[snip]
> Could you please specify exactly what is wrong with the above  
> statement?
>
> Note the use of the word "reliably", which I choose to interpret as  
> "at *all* moments during the running of a program". The fact that  
> (what I choose to call) non-static methods can be created during  
> the running of a program, either through the use of AUTOLOAD or by  
> other means, does not equate to "reliable" in the context of the  
> above statement + example.
[snip]

As I understand it chromatic is saying that any responsible author of  
code using AUTOLOAD should also include an appropriate can() method  
with appropriate logic to give the correct results for that class.

So it can be reliable if the author of the AUTOLOAD code is...

Cheers,

Adrian



More information about the london.pm mailing list