develooper Front page | perl.perl5.porters | Postings from December 2009

Re: Pod::Abstract 0.19 generating warnings on 5.11.3

Thread Previous | Thread Next
Aristotle Pagaltzis
December 28, 2009 11:29
Re: Pod::Abstract 0.19 generating warnings on 5.11.3
Message ID:
* chromatic <> [2009-12-28 19:45]:
> ... and calling can() as a function, not a method is still
> a hack that obscures the intent of the code.

Agreed. I just had to write several paragraphs to John because
of this. I’m not promoting this as a good way, merely the best
available way.

> I'd rather see a way to test that a given non-reference scalar
> is a valid class name without relying on side effects of
> implementation.

It’s OK to use them as an implementation detail in an intention-
revealing routine, which I’ve been arguing we should have.

But it sucks that application code currently has to use such side
effects directly, or at least has to contain wrappers, reinvented
thousands of times over.

Aristotle Pagaltzis // <>

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About