Re: To include another file in perl program

2004-04-29 Thread Durai
T_LOG" requires explicit package name at common_functions.pl line 19. Global symbol "$PROD_TESTS" requires explicit package name at common_functions.pl line 24. Compilation failed in require at runtest.pl line 6. $ - Original Message - From: "Charles K. Clarkson" <

RE: To include another file in perl program

2004-04-29 Thread Charles K. Clarkson
Durai <[EMAIL PROTECTED]> wrot: : :It works fine. Thanks. : But I don't know about 1; action? : : Is it the return value? Yes. Read perlfunc 'require': "The file must return true as the last statement to indicate successful execution of any initialization code, so it's custo

Re: To include another file in perl program

2004-04-29 Thread Durai
Sent: Friday, April 30, 2004 9:00 AM Subject: RE: To include another file in perl program > Durai <[EMAIL PROTECTED]> wrote: > : > : $ perl runtest.pl > : configure.pl did not return a true value at runtest.pl > : line 4. > > At the bottom of each required file p

RE: To include another file in perl program

2004-04-29 Thread Charles K. Clarkson
Durai <[EMAIL PROTECTED]> wrote: : : $ perl runtest.pl : configure.pl did not return a true value at runtest.pl : line 4. At the bottom of each required file place a 1 like this: 1; It should be on the last line. Let us know if that fixes your problem. HTH, Charles K. Clarkson --