A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Stsrting up PERL

  1. #1
    Senior Member
    Join Date
    Feb 2001
    Posts
    124
    Any of you know how to start up PERL from the Terminal in OS X 10.2?

  2. #2
    __OSX powered__ nucleuz's Avatar
    Join Date
    Aug 2000
    Location
    Norway
    Posts
    836
    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...

  3. #3
    Senior Member SJT's Avatar
    Join Date
    Mar 2000
    Location
    London, UK
    Posts
    2,563
    Yep, perl is there, type:
    man perl
    for more info.
    like nucleuz said, to runa perl script type:
    perl file.pl

  4. #4
    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.

  5. #5
    Senior Member SJT's Avatar
    Join Date
    Mar 2000
    Location
    London, UK
    Posts
    2,563
    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
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center