in reply to Re: Using Perl on OS X
in thread Using Perl on OS X
Thanks for the response, everyone. However, my Terminal is still not displaying "Hello, world!" This is the code to my program:
#!usr/bin/perl print "Hello, world!\n";
I'm assuming this is all I need to type, right?
I would type "my_program" or "perl my_program" after "chmod a+x my_program". The latter would cause the Terminal to respond: "my_program: Command not found." The former would just ignore it and ask for a new command without displaying "Hello, World!"
Any thoughts?!?? Thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Using Perl on OS X
by dws (Chancellor) on Sep 13, 2002 at 06:25 UTC | |
by hmerrill (Friar) on Sep 13, 2002 at 12:41 UTC | |
by cayenne (Scribe) on Sep 13, 2002 at 09:25 UTC |