Re: running PERL from CMD line OSX

2004-03-18 Thread John W. Krahn
David Gilden wrote: > > Trying to run a perl script in OSX shell, and It is not working, what am I missing? > > here is what I am typing: > > perl -e test.pl The -e switch treats its argument as a string containing perl code: perl -e 'print "hello\n"' If you want perl to run a _file_ then yo

Re: running PERL from CMD line OSX

2004-03-18 Thread John
Try #perl test.pl -e 'command'one line of program (several -e's allowed, omit programfile) - Original Message - From: "David Gilden" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 18, 2004 7:27 PM Subject: running PERL from CMD line OSX > Trying to run a perl sc