Search   Feed   Browse   Add
Feed items 11 - 20 of 40 for June 2008

Re: Exporter::Safe by Fergal Daly - June 20, 2008

To be a little more constructive. Here&39;s something that isimplementable and I think reasonable.use Foo::Bar;never does anything to the importing packageuse Foo::Bar as => Bar;plops a constant function Bar into your package. The constant is anobject on which you can doBar->some_function(args)and it is the equivalent of callingFoo::Bar::some_function(args)Yes it would be slower as it would have to go through AUTOLOAD andmethod called but whether that&39;s a problem depends on whether...
http://www.nntp.perl.org/group/perl.module-authors/2008/06/msg6644.html

Re: Exporter::Safe by Fergal Daly - June 20, 2008

Hmm. I seem to have misunderstood your problem. The stuff belowremains true but to be relevant to you mail, should include stuffabout subclasses. The principle is that same, changing what you exportbased on something other than what the importer is requesting willcause mysterious breakage,F2008620 Fergal Daly <fergalesatclear.ie>:> 2008620 Ovid <publiustemp-moduleauthors2yahoo.com>:>> Buried deep within some code, someone used a module (Test::Most 0.03)>> which...
http://www.nntp.perl.org/group/perl.module-authors/2008/06/msg6643.html

Re: Exporter::Safe by Ovid - June 20, 2008

--- Ovid <publiustemp-moduleauthors2yahoo.com> wrote:> I&39;m trying to think of the best way to deal with this. My first> thought is to create a drop in replacement for Exporter which will> not> export a function if caller->can($function) unless the person> explicitly lists it in the import list with a unary plus:Which fails if the function isn&39;t defined when Test::Most is used. ACHECK block might help, but I suspect that breaks under testaggregation.Related issues.
http://www.nntp.perl.org/group/perl.module-authors/2008/06/msg6642.html

Exporter::Safe by Ovid - June 20, 2008

Buried deep within some code, someone used a module (Test::Most 0.03)which exports a &39;set&39; function. They weren&39;t actually using thatmodule. It was just leftover cruft. Unfortunately, the parent classof that module inherited from Class::Accessor.Test::Most exports &39;set&39; and Class::Accessor calls a &39;set&39; method. Oops.I&39;m trying to think of the best way to deal with this. My firstthought is to create a drop in replacement for Exporter which will notexport a function if.
http://www.nntp.perl.org/group/perl.module-authors/2008/06/msg6641.html

Re: Debian patch by Gabor Szabo - June 19, 2008

On Fri, Jun 20, 2008 at 5:13 AM, Ivan Wills <ivan.willsgmail.com> wrote:> Hi,>> I noticed that my module SVG::Calendar has failed the kwalitee test> has_no_patch_in_debian but does not tell me where to actually find that> patch can any one tell me where to look>> Also if the test knows that there is a patch (or patches) in Debian should> it not report where they are to be found by defaultIt should but actually in this case there is another issue.This module also...
http://www.nntp.perl.org/group/perl.module-authors/2008/06/msg6640.html

Debian patch by Ivan Wills - June 19, 2008

Hi,I noticed that my module SVG::Calendar has failed the kwalitee testhas_no_patch_in_debian but does not tell me where to actually find thatpatch can any one tell me where to lookAlso if the test knows that there is a patch (or patches) in Debian shouldit not report where they are to be found by defaultThanksIvan Wills-- emailjabber: ivan.willsgmail.com _ _ _
http://www.nntp.perl.org/group/perl.module-authors/2008/06/msg6639.html

Re: Andy differentiation by Andy Armstrong - June 19, 2008

On 19 Jun 2008, at 23:05, David Nicol wrote:> Armstrong: Hexten, London.>> Lester: Petdance, Chicago.Thanks. That&39;s cleared up something I&39;d been wondering about :)Actually I&39;m about as close to London as Andy Lester is to Detroit, specifically here:http:me.hexten.nethome-- Andy Armstrong, Hexten
http://www.nntp.perl.org/group/perl.module-authors/2008/06/msg6638.html

Re: Andy differentiation by Andy Lester - June 19, 2008

On Jun 19, 2008, at 5:05 PM, David Nicol wrote:> Lester: Petdance, Chicago.Actually, McHenry, just south of Wisconsin. Not Chicago. :-)--Andy Lester => andypetdance.com => www.petdance.com => AIM:petdance
http://www.nntp.perl.org/group/perl.module-authors/2008/06/msg6637.html

Re: Andy differentiation by Ovid - June 19, 2008

--- David Nicol <davidnicolgmail.com> wrote:> Armstrong: Hexten, London.Actually, Cumbria, just south of Scotland. Not London :)Cheers,Ovid--Buy the book - http:www.oreilly.comcatalogperlhksPersonal blog - http:publius-ovidius.livejournal.comTech blog - http:use.perl.orgOvidjournal
http://www.nntp.perl.org/group/perl.module-authors/2008/06/msg6636.html

Andy differentiation by David Nicol - June 19, 2008

Armstrong: Hexten, London.Lester: Petdance, Chicago.
http://www.nntp.perl.org/group/perl.module-authors/2008/06/msg6635.html
Available Archives
- June (40 items)
Sponsored Links
© 2008 FeedCapsule.com  |  Contact