advertisement

Article:
  Learning the Mac OS X Terminal, Part 5
Subject:   Perl Scripts
Date:   2006-01-18 06:43:21
From:   tankl
Response to: Perl Scripts

OS X has built-in PERL support. Run "which perl" to show the path of your PERL interpretor.


G4-Cube:/private/etc kltan$ which perl
/usr/bin/perl


Another note is Windows PERL script does not require the shebangs line, but is required for your UNIX/OSX PERL script. Just enter the shebangs line at the top of your script as below.


#!/usr/bin/perl
...your script..


good luck.