Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Perl Front end?

Perl Front end?
Thread Tools
Addicted to MacNN
Join Date: Aug 2000
Location: Retired
Status: Offline
Reply With Quote
May 10, 2001, 06:24 PM
 
Anybody know if you can use Project Builder to build GUIs for Perl programs? If not, anybody have any suggestions?
Power Macintosh Dual G4
SGI Indigo2 6.5.21f
     
Senior User
Join Date: Feb 2001
Location: Rochester, uk
Status: Offline
Reply With Quote
May 11, 2001, 08:18 AM
 
I'm pretty sure (never tried it, just heard) that you can use Tk from Perl the same you would on any *Nix. You probably need to get hold of Tk first, though.

It won't look as good as a real Cocoa program, but neither does XToolkit.

All words are lies. Including these ones.
     
Fresh-Faced Recruit
Join Date: Sep 2000
Location: Germany
Status: Offline
Reply With Quote
May 11, 2001, 08:47 AM
 
You could at least build a user interface in cocoa, which wraps a command line perl tool. Add the perl tool to the bundle and noone ever sees (at least most people) that there is a perl engine underneath.


------------------
Phure (aka BlackMac.de)
He who knows does not talk - He who talks does not know!
Phure (aka BlackMac.de)
He who knows does not talk - He who talks does not know!
     
Addicted to MacNN
Join Date: Aug 2000
Location: Retired
Status: Offline
Reply With Quote
May 11, 2001, 09:13 AM
 
TK and Tkinter have not been ported to Mac OS X (yet), which makes life difficult than it should be. All I need is a user interface for Perl and Python so I'll try cocoa. Thanks!
Power Macintosh Dual G4
SGI Indigo2 6.5.21f
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
May 12, 2001, 05:33 AM
 
Tk works to a certain extent on OS X if you use XFree86 for a frontend.

To create a frontend to a perl program, as has been suggested before, you need to basically wrap it like any other commandline tool. I'd suggest investigating NSPipe, which has been discussed on these forums before.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 10:03 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2