Re: Perl system() function works sometimes.

2012-01-30 Thread Gary E Barnes
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 perlrebase and also rebaseall. I tried deleting cygwin from the machine and reinstalling from scratch. None of that fixes the problem

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 a