RE: call one perl script within another

2003-10-21 Thread Geer, David van der
> As I've said before: > >You have exceeded the 4-line .sig boilerplate limit with a >worthless unenforcable disclaimer. Please remove this text from >future postings to this mailing list. If you cannot do so for >mail from your domain, please get a freemail account and rejoin >

RE: call one perl script within another

2003-10-21 Thread Geer, David van der
> How Can I call a perl script within my main script > If I do > $response=`perl $somescript $args`; This will fork and open a shell so is slow >do "$somescript $args"; > But How do I get the reponse of the script. > Is there a way or should I just use the backticks Please look at sys

RE: Urgent : Can I override #! defn. through any command line option ??

2003-06-04 Thread Geer, David van der
Hi Ravi, The first line "#!" tells the program how te read the executable. F.e. if you would change it into "#!/bin/ksh" it means your (perl) script will be executed using ksh. Therefor you will get errors from the korn-shell as it's a different language. The meaning of this is that whenev

RE: Using Wildcards when matching a string(sentence)

2003-06-04 Thread Geer, David van der
> I am running a while loop, where I am comparing a > string, but I want to use a wild card towards the end. > Can anyone give me an idea of doing this. Here is what > I have. My threshold value could vary and only thing I > need to check from that line is "#Threshold", but my > variable $lineFromF

RE: sendmail syntax error

2003-06-02 Thread Geer, David van der
> [EMAIL PROTECTED] ./summer.pl > Bareword found where operator expected at ./summer.pl line 78, near "print > SENDMAIL "TO" > (Might be a runaway multi-line "" string starting on line 77) >(Do you need to predeclare print?) > syntax error at ./summer.pl line 78, near "print SENDMAIL "TO"