From: David Gilden <[EMAIL PROTECTED]>
Date: Thu Mar 18, 2004 12:27:57 PM Canada/Eastern
To: [EMAIL PROTECTED]
Subject: running PERL from CMD line OSX
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
#!/usr/bin/perl
#test.pl
# rename from the Terminal OSX
print "hello";
__END__
Dave,
Change to the directory you saved the script,
make sure it's executable with
chmod +x test.pl
then run it directly
./test.pl
Brian
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>