Re: Executing a variable that contains perl code

2002-12-18 Thread Rob Dixon
;; } > > Dan > > -Original Message- > From: Rob Dixon [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, December 18, 2002 5:42 AM > To: Dan Muey; [EMAIL PROTECTED] > Subject: Re: Executing a variable that contains perl code > > > Dan > > I'm not a Unixite

RE: Executing a variable that contains perl code

2002-12-18 Thread Dan Muey
ay, December 18, 2002 5:42 AM To: Dan Muey; [EMAIL PROTECTED] Subject: Re: Executing a variable that contains perl code Dan I'm not a Unixite, but something like eval $ENV{$code_here}; will do the trick. Rob - Original Message - From: "Dan Muey" <[EMAIL PROTECT

Re: Executing a variable that contains perl code

2002-12-18 Thread Rob Dixon
Dan I'm not a Unixite, but something like eval $ENV{$code_here}; will do the trick. Rob - Original Message - From: "Dan Muey" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 17, 2002 10:24 PM Subject: Executing a variable that con

Executing a variable that contains perl code

2002-12-17 Thread Dan Muey
Anybody know of any modules or ways to execute a variable that contains perl code as if it were part of the script? IE do : print `/usr/bin/perl -e '$code_here'`; Except be able to use variables/arrays/hashes/routines that are in the script with that line EG : print `/usr/bin/perl -e '$code_h