On 7/12/07, Chas Owens [EMAIL PROTECTED] wrote:
On 7/12/07, Gregory Machin [EMAIL PROTECTED] wrote:
Hi
I have a rusty memory of perl have the ability, where by you can load
perl code into an variable / array then execute it on demand, anyone
got an example of how to do this ..
Many Thanks
On Fri, 2007-07-13 at 08:37 -0400, Mr. Shawn H. Corey wrote:
If you want to run scripts, you should use system(). See `perldoc -f
system`
or:
open( PROG, '|-', 'myscript.sh options' ) or die ...
while( PROG ) {
}
close PROG
if( $? ) {
die I have failed;
}
--
Ken Foskey
FOSS developer
Gregory Machin wrote:
What I want to do is to write a service monitoring daemon, where the
core or body of the script parses a directory, that contains the
config / perl scripts, and is loaded into the core script, if one of
the scripts has an unrecoverable error, it's dumped, thus preserving
Jenda Krynicky wrote:
Date sent: Fri, 13 Jul 2007 08:53:56 +0200
From: Gregory Machin [EMAIL PROTECTED]
What I want to do is to write a service monitoring daemon, where the
core or body of the script parses a directory, that contains the
config / perl scripts, and is loaded into
Date sent: Fri, 13 Jul 2007 08:53:56 +0200
From: Gregory Machin [EMAIL PROTECTED]
What I want to do is to write a service monitoring daemon, where the
core or body of the script parses a directory, that contains the
config / perl scripts, and is loaded into the core script, if one
Hi
I have a rusty memory of perl have the ability, where by you can load
perl code into an variable / array then execute it on demand, anyone
got an example of how to do this ..
Many Thanks
--
Gregory Machin
[EMAIL PROTECTED]
www.linuxpro.co.za
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
On Thursday 12 July 2007 11:05, Gregory Machin wrote:
Hi
I have a rusty memory of perl have the ability, where by you can load
perl code into an variable / array then execute it on demand, anyone
got an example of how to do this ..
Many Thanks
Hi Gregory
Are you thinking about the eval
On 7/12/07, Gregory Machin [EMAIL PROTECTED] wrote:
Hi
I have a rusty memory of perl have the ability, where by you can load
perl code into an variable / array then execute it on demand, anyone
got an example of how to do this ..
Many Thanks
The string based version eval function can do this,