Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
#! /usr/bin/perl $program = "/bin/csh "; $status1 = system("$program source /exlibris/aleph/a16_1/aleph/proc/un +set_lib_env"); die "status1 went wrong:$?" unless $status1 ==0; $status2 = system("$program source `/exlibris/aleph/a16_1/aleph/exe/de +v_aleph gpo01`/gpo01/prof_library"); die "status2 went wrong:$?" unless $status2 ==0; $status3 = system("$program echo $data_root"); die "status3 went wrong:$?" unless $status3 ==0;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl system calls in csh Not executing!
by merlyn (Sage) on Aug 18, 2005 at 03:33 UTC | |
|
Re: Perl system calls in csh Not executing!
by graff (Chancellor) on Aug 18, 2005 at 03:57 UTC | |
|
Re: Perl system calls in csh Not executing!
by davidrw (Prior) on Aug 18, 2005 at 11:43 UTC | |
|
Re: Perl system calls in csh Not executing!
by Anonymous Monk on Aug 18, 2005 at 14:20 UTC |