Front page | perl.perl5.porters |
Postings from March 2000
Re: AUTOLOADREF
Thread Previous
|
Thread Next
From:
Ilya Zakharevich
Date:
March 28, 2000 16:04
Subject:
Re: AUTOLOADREF
Message ID:
200003290004.TAA25434@monk.mps.ohio-state.edu
Benjamin Stuhl writes:
> I think I like the user-visible name form better, mainly because it would
> allow for nifty tricks like autoloading part of your autoloader:
>
> sub AUTOLOAD2 {
> ... blah ...
> if ($I_need_to_load_from_the_ultimate_zipped_library) {
> *AUTOLOAD2 = load_ziploader();
eval 'use autoload sub_body => \&load_ziploader()';
(or sub_body => load_ziploader() if this is what you meant).
Ilya
Thread Previous
|
Thread Next