-
Any of you know how to start up PERL from the Terminal in OS X 10.2?
-
__OSX powered__
Isn't perl there??
does "perl file.pl" work??
My Mac is in the shop now, so I can't check it, but perl should be there...
-
Senior Member
Yep, perl is there, type:
man perl
for more info.
like nucleuz said, to runa perl script type:
perl file.pl
-
I have found I need to type ./ in front of the perl script filename when I want to run the script from the terminal. (That is, when I'm in the same directory as the script.)
Like this: ./file.pl
I don't have to type 'perl' first.
-
Senior Member
You're basically executing it through the shell, which then starts up perl for you, the same as typing perl myscript.pl
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|