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

RE: [FWP] Delayed semantical interpretation



Why not just "require $module"?
Of course, that's probably an eval, too.

The real question is -- what's the most indeterminate construct that
doesn't invoke the tokenizer?

-----Original Message-----
From: Rubinow, Larry [mailto:Larry.Rubinow@westgroup.com]
Sent: Wednesday, September 22, 1999 4:48 PM
To: fwp@technofile.org
Subject: RE: [FWP] Delayed semantical interpretation


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

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

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

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