Hi,
You can do that with 'thread' or 'Acme::Spork'.
As for thread you can do something like:
__BEGIN__
use strict;
use warnings;
use threads;
sub getArray {
my ($arg1,$arg2) = @_;
my @output = `./myscript1.pl $arg1 $arg2`;
return chomp @output;
}
my( $arg1, $arg2 ) = @ARGV;
hi all,
have a query ...
i wanted to call a perl script from another script and that should run in
the back ground..any idea how this can be achieved?
thanks in advance,
vishwa
hi All,
I have to call some perl scripts with command line arguements from another
perl script.
(some thing like this)
perl -s -a $ENV{X} -b $ENV{Y} -c $ENV{Z} ; ( -a , -b, -c are also the
arguments to call the script)
( the $ENV{x}=C:\xyz\abc,$ENV{Y}=abc,$ENV{Z}=5).
I understand we
right, what was i thinking?
thank you.
On 10/13/06, John W. Krahn <[EMAIL PROTECTED]> wrote:
I.B. wrote:
> sorry, I didn't fraze my question correctly.
^
phrase
> example :
> $line="abcxabcxxabcxxxabc";
>
> how to match everything beofre "xxx" but not xx
Thanks Romeo for the heads up!
--- Romeo Theriault <[EMAIL PROTECTED]> wrote:
> Perl is cross-platform, extremely useful for working
> with large
> amounts of text, using regular expressions, it has a
> great repository
> of modules for you to use for just about any task
> you can think of
Johan Meskens CS3 jmcs3 wrote:
> hello
Hello,
> i am using File::Find to recursively search for a specific file
> but once i found that file
> , how can i stop File::Find from searching any further ?
>
> i don't 'find' any help in the dox
File::Find will not do what you want, you probably wan
hello
i am using File::Find to recursively search for a specific file
but once i found that file
, how can i stop File::Find from searching any further ?
i don't 'find' any help in the dox
, it becomes a strange world when finding is not enough anymore
thanks
jmcs3
---