Front page | perl.macosx |
Postings from January 2002
Help with Perl on MacOSX
Thread Next
From:
Anthony Mason
Date:
January 9, 2002 16:13
Subject:
Help with Perl on MacOSX
Message ID:
CDEFB18E-055E-11D6-A95B-000A2782AD46@home.com
Hello,
First, let me apologize if I'm sending this to the wrong place. I am
in need of help with Perl on the Mac OSX. Please take a look at the
following listing:
Welcome to Darwin!
[localhost:~] anthonym% ls
Applications Library Perl Stuff Sites
mac_perl.pl
Desktop Movies Pictures ex1_1.pl
Documents Music Public ex1_1_perl.pl
[localhost:~] anthonym% chmod +x mac_perl.pl
[localhost:~] anthonym% ./mac_perl.pl
../mac_perl.pl: Command not found.
[localhost:~] anthonym%
I cannot get my Perl code to execute. Do you have any idea what I'm
doing wrong? Here is the file source:
#!/usr/bin/perl
print "Perl on Mac OS X\n";
Thanks for any assistance you can give.
Anthony Mason
Thread Next