Perl

Joined
Jul 7, 2007
Messages
137
Reaction score
4
Points
18
Location
Baltimore
Your Mac's Specs
iPod Video| 15" MacBook Pro | iPod Shuffle
How do I execute perl files in the terminal?
 

rman


Retired Staff
Joined
Dec 24, 2002
Messages
12,637
Reaction score
168
Points
63
Location
Los Angeles, California
Your Mac's Specs
14in MacBook Pro M1 Max 32GB 2TB
perl filename
 
Joined
Oct 19, 2007
Messages
2
Reaction score
0
Points
1
In addition make sure the perl file is saved with unix line returns, and is set executable and the first line has: #!/usr/bin/perl
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top