Re: Perl system() function works sometimes.

2012-01-30 Thread Gary E Barnes
o need to invoke a subshell (or do a great deal of process piping on my own). Would it help reduce DLL space usage if I wrote the commands out to a file and ran the file as a shell script underneath Perl? Gary On Mon, Jan 30, 2012 at 11:45 AM, Gary E Barnes wrote: > I have tried pe

Perl system() function works sometimes.

2012-01-27 Thread Gary E. Barnes
perl -e 'system ("/bin/ls -l /tmp");' # still works perl -e 'system ("/bin/ls -l /tmp > /tmp/xxx");'# no longer works perl -e 'system ("(/bin/ls -l /tmp>");' # no longer works Perl's system() function is just the Unix system() call. The string argument is