Re: Bug in empty method of MooseX::AttributeHelpers::MethodProvider::List?

[email protected] (Tod Hagan)
Newsgroups perl.moose
Message-ID <[email protected]>
On Thu, 2008-10-09 at 21:45 -0400, Sartak wrote:
Yes. Unfortunately it's way too late to break back-compat. :(
> 
> It's documented somewhere in the dist that the empty method is
> deprecated because of exactly this.

Ahh, I was wondering if this was the case.

> Also, I'm unfamiliar with the ': method' business after the subroutine
> > name, can someone explain?
> 
> That's to tell Perl to not generate the warning "Ambiguous call
> resolved as CORE::foo". perldoc attributes has more information.

Thanks for the pointer.

Tod

-- 
Tod Hagan
Information Technologist
AIRMAP/Climate Change Research Center
Institute for the Study of Earth, Oceans, and Space
University of New Hampshire
Durham, NH 03824
Phone: 603-862-3116
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.