in reply to Using AutoLoader Without AutoSplit?
Would something like the following (untested idea) work for you?
Update: typo correctionsub AUTOLOAD { my $func = $AUTOLOAD; die "Can't locate $func" if ! -f "$func.pl"; eval "require $func.pl"; die $@ if $@; goto &$func; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Useing AutoLoader Without AutoSplit?
by Whalen (Initiate) on Mar 27, 2002 at 16:35 UTC |