[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [Fun With Perl] Package Retrofit



At 10.30 -0400 1999.06.11, John Porter wrote:
>But why would you get the warning if you've already ascertained that
>the function isn't defined?

Oh right, duh.  I wrote it first thing when I woke up.  :)  At first I was
thinking of


>I would do this, because I like poetry:
>
>    can Mozilla::LDAP::Entry 'getLDIFrecords' or
>       *Mozilla::LDAP::Entry::getLDIFrecords = sub {
>           [snip]
>       };


Yeah, I don't like that, but I can read it and it works, so it is Good.


>And isn't there a more standard way to accomplish this using the autoloader?

If the original module already uses AutoLoader, probably not that I can
think of, without modifying the original module.  It all depends on the
original's implementation.

--
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])

==== Want to unsubscribe from this list? (Don't you love us anymore?)
==== Well, if you insist... Send mail with body "unsubscribe" to
==== fwp-request@technofile.org