call other program

2005-07-14 Thread Ken Killer
If I run the application A from the command line, it will write some output to screen and continue running on the foreground. Now, in my perl tool program, I will call the application A and collect some output of that application A. my perl program will be used on Unix/Linux/Win32 system. My

perl on HP-UX

2005-07-11 Thread Ken Killer
perl on HP-UX doesn't include the strict.pm into the core modules list? Can't locate strict.pm in @INC (@INC contains: /opt/perl5/lib/5.00502/PA-RISC1.1 /opt/perl5/lib/5.00502 /opt/perl5/lib/site_perl/5.005/PA-RISC1.1 /opt/perl5/lib/site_perl/5.005 . lib) at ./main.pl line 4. -- To unsubscribe,

Re: perl on HP-UX

2005-07-11 Thread Ken Killer
I Believe the perl on HP-UX was broken too. Does the HP have official claim about this problem and good solution? On 7/12/05, Chris Devers [EMAIL PROTECTED] wrote: On Mon, 11 Jul 2005, Ken Killer wrote: perl on HP-UX doesn't include the strict.pm into the core modules list? Can't locate

use strict and load

2005-07-04 Thread Ken Killer
I load the config file in the main program using do, main.pl #!perl do conf; use strict; print value of v is $v\n; and the config file has only one line, conf $v = 'hello'; when I run the main.pl, it reports following error, how to fix this? Global symbol

Re: use strict and load

2005-07-04 Thread Ken Killer
I tried to add 'my' before $v, but I got same error as before. On 7/5/05, Chris Devers [EMAIL PROTECTED] wrote: On Mon, 4 Jul 2005, Ken Killer wrote: I load the config file in the main program using do, main.pl #!perl do conf; use strict; print value of v is $v\n