Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

jvaska

macrumors 6502
Original poster
Feb 18, 2002
448
75
i'm trying to figure out how to enable (or turn on) my perl stuff on panther?

i can't find anytthing on the web about this...

oh yeah, i've got 5.8.1 on my machine...preinstalled...just need to turn it on...i'm guessing...

heeeeeeeelp...v
 
You don't really 'enable' perl, you just use it, like this.

perl MyPerlScript.pl

Moray
 
Also you can use TextEdit.

At the top of your file type:
"#!/usr/bin/perl" w/o quotes

When you're done coding, open Terminal. cd into the correct directory. Then type "chmod +x _____" w/o quotes where _____ is your file name. Then type "./______" w/o quotes where _____ is your file name. BOOM!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.