OT: use problem (need interpolation)

2000-09-28 Thread Jerrad Pierce
Is there anyway to fool perl into letting you do a: use Foo ($bar, 'baz', 'quux'); ?? Foo is only getting 'baz' and 'quux', the value of $bar is lost in the ether. I have tried many ways of trying to sneak it past but none seems to work... Thanks

Re: OT: use problem (need interpolation)

2000-09-28 Thread Matthew Byng-Maddick
On Thu, 28 Sep 2000, Jerrad Pierce wrote: Is there anyway to fool perl into letting you do a: use Foo ($bar, 'baz', 'quux'); ?? Foo is only getting 'baz' and 'quux', the value of $bar is lost in the ether. I have tried many ways of trying to sneak it past but none seems to work... use is

Re: OT: use problem (need interpolation)

2000-09-28 Thread David Mitchell
From: Jerrad Pierce [EMAIL PROTECTED] Is there anyway to fool perl into letting you do a: use Foo ($bar, 'baz', 'quux'); 'use' lines are executed very early on during script loading: use Foo x y z is roughly equivalent to BEGIN { require Foo; import Foo x y z }

RE: OT: use problem (need interpolation)

2000-09-28 Thread Jerrad Pierce
[mailto:[EMAIL PROTECTED]] Sent: Thursday, September 28, 2000 10:53 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: OT: use problem (need interpolation) From: Jerrad Pierce [EMAIL PROTECTED] Is there anyway to fool perl into letting you do a: use Foo ($bar, 'baz', 'quux'); 'use