Thread: Perl or Shell?
View Single Post
  #7 (permalink)  
Old 03-29-2008, 05:35 PM
Jordan's Avatar
Jordan Jordan is offline
Administrator
 
Join Date: Nov 2006
Posts: 500
Jordan is on a distinguished road
Default

If you have your shebang correct:

Code:
#!/usr/bin/perl
at the top of your Perl script you can execute it like you would a shell script. IE:

Code:
# ./myPerlScript.pl
Reply With Quote