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

Re: [FWP] Delayed semantical interpretation



>>>>> "Rubinow," == Rubinow, Larry <Larry.Rubinow@westgroup.com> writes:

Rubinow,> Oh well, who am I to argue with Randal?  Then what about

Rubinow,>    my ( $module, $function ) = @_;
Rubinow,>    require $module;
Rubinow,>    &{"${module}::$function"};

"require" is a fancy "do" which is a fancy "eval".

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe