in reply to Re: Re: Using Perl on OS X
in thread Using Perl on OS X
at a command prompt - that will print out the @INC array, which tells you the directories that Perl will search for modules.perl -V
at a command prompt. That will display something like this:which perl
and that is what you should include in your #! line at the very top of each perl script. #!/usr/bin/perl -w./usr/bin/perl
Again, I have no experience with OS X, so I don't know how much similarity it has to Unix/Linux.chmod +x my_program and then ./my_program it should run - hopefully.
|
|---|