Re: Running a Perl module

2004-04-05 Thread Octavian Rasnita
- From: "Bob Showalter" <[EMAIL PROTECTED]> To: "'Octavian Rasnita'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, April 05, 2004 3:29 PM Subject: RE: Running a Perl module > Octavian Rasnita wrote: > > Hi all > > > >

RE: Running a Perl module

2004-04-05 Thread Bob Showalter
Octavian Rasnita wrote: > Hi all > > I want to run a certain perl module by getting the name of the perl > module from a scalar variable like: > > $module ="Test"; > require $module; > > I have read in the POD documentation that I need to use: > > eval {require $module}; > or > eval "require $modul

Running a Perl module

2004-04-05 Thread Octavian Rasnita
Hi all I want to run a certain perl module by getting the name of the perl module from a scalar variable like: $module ="Test"; require $module; I have read in the POD documentation that I need to use: eval {require $module}; or eval "require $module"; But the problem is that I cannot get a va