File::Find when found

2006-10-15 Thread Johan Meskens CS3 jmcs3
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 ---

Re: File::Find when found

2006-10-15 Thread John W. Krahn
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

Re: Newbie

2006-10-15 Thread Darwin Pintado
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

Re: grouppin in the regular expressions

2006-10-15 Thread I . B .
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

how to configure the options.

2006-10-15 Thread perl pra
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

how to make a perl script run in background..?

2006-10-15 Thread Vishwanath Chitnis
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

RE: how to make a perl script run in background..?

2006-10-15 Thread Wijaya Edward
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;