Forum Moderators: travelin cat

Message Too Old, No Replies

Perl scripts w/o Terminal?

I can't seem to run a perl program without opening the Terminal

         

Aranor

3:10 pm on Mar 25, 2004 (gmt 0)

10+ Year Member



Howdy.

I'd put this in the perl forum, but it's a Mac-only question.

I currently know of only three ways to run a perl program:
1. Open up terminal and use the command-line to run the program.
2. Make the program's extension ".command," in which case it opens Terminal.
3. Make it a CGI script and start it through my browser. :-P

Surely there are other ways? Some programs I'd like to give me instant feedback (and so I want the terminal), but there are plenty of others (e.g., a script that cleans a directory every thirty minutes) that shouldn't need a Terminal window open.

Any help would be appreciated.

timster

3:32 pm on Mar 25, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You can use CRON to run a shell script to run a Perl script, and no Terminal window should open. This sounds like what you need for cleaning that directory every 30 minutes. That won't open a Terminal window.

Here's a good primer on using CRON under Mac OS X:
[macdevcenter.com...]

Hissingsid

10:11 am on Mar 31, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi,

Search for Camel Bones. With it you can make Cocoa/Perl applications and GUI interfaces.

Best wishes

Sid

Hissingsid

1:08 pm on Apr 2, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi,

I know that this is probably not what you are looking for but I came accross anothe GUI tool for Perl here. [q41.de...]

Best wishes

Sid