View Full Version : ack, don't know much about perl - how do i start it?
jvaska
Jan 23, 2004, 07:58 AM
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
mugent
Jan 23, 2004, 08:27 AM
You don't really 'enable' perl, you just use it, like this.
perl MyPerlScript.pl
Moray
Westside guy
Jan 23, 2004, 12:52 PM
Also, if the execute bit is set on the script, you can just type ./MyPerlScript.pl and it'll run.
titaniumducky
Jan 23, 2004, 05:13 PM
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!
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.