hdeng419 has asked for the wisdom of the Perl Monks concerning the following question:
************ my script ************* #! /per/bin/perl -w use strict; my($program) = 'd:\ema\extension\win32\surveyimport d:\ema\extension\win32\Yahoo.cfg'; my(@res); open(RES, "$program |") || die "Unable to run $program: $!\n"; foreach (<RES>) { push @res, $_; #print "$_"; } print $?; print @res; close(RES); exit(0); ***************************************
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: can't capture the exception message from java program called by my perl script!
by Juerd (Abbot) on Apr 19, 2002 at 17:50 UTC | |
|
Re: can't capture the exception message from java program called by my perl script!
by particle (Vicar) on Apr 19, 2002 at 17:54 UTC |