Welcome to MacBoardz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Perl: @INC-Path when starting an app from finder

 
   Macintosh computer (Home) -> Programmer Help RSS
Next:  ObjC SQLite wrapper ???  
Author Message
Mark Heisterkamp

External


Since: Jan 28, 2008
Posts: 1



(Msg. 1) Posted: Mon Jan 28, 2008 7:02 am
Post subject: Perl: @INC-Path when starting an app from finder
Archived from groups: comp>sys>mac>programmer>help (more info?)

Hi,

I have been replacing OS X's Perl by fink's Perl. So there was an
important change to the PERL5PATH.

If I start a perl-program from the shell, following @INC-Path is valid:

/sw/lib/perl5/5.8.8/darwin-thread-multi-2level
/sw/lib/perl5/5.8.8
/sw/lib/perl5/darwin-thread-multi-2level
/sw/lib/perl5/5.8.8/darwin-thread-multi-2level
/sw/lib/perl5/5.8.6/darwin-thread-multi-2level
/sw/lib/perl5
/sw/lib/perl5/darwin
/sw/lib/perl5-core/5.8.8/darwin-thread-multi-2level
/sw/lib/perl5-core/5.8.8
/sw/lib/perl5/site_perl/5.8.8/darwin-thread-multi-2level
/sw/lib/perl5/site_perl/5.8.8
/sw/lib/perl5/site_perl/5.8.8/darwin-thread-multi-2level
/sw/lib/perl5/site_perl
..

Starting an app from the finder (for example Quicksilver which doesnt't
work any more, because it is looking for the perl-module HTML::Parser)
this ist the @INC-path:

/sw/lib/perl5-core/5.8.8/darwin-thread-multi-2level
/sw/lib/perl5-core/5.8.8
/sw/lib/perl5/site_perl/5.8.8/darwin-thread-multi-2level
/sw/lib/perl5/site_perl/5.8.8
/sw/lib/perl5/site_perl/5.8.8/darwin-thread-multi-2level
/sw/lib/perl5/site_perl
..

How can I tell the finder where to look for further modules?

Mark

 >> Stay informed about: Perl: @INC-Path when starting an app from finder 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
path of the selected item in the frontmost Finder window ? - How to get the path of the selected item in the frontmost Finder window (Objective-C, C, shell script or AppleScript script) ? Same question for selected item in the Desktop.

How to Open Finder window from folder path in Cocoa - How to Open a Finder window showing the folder from the BSD directory path in Cocoa

How to make my mac restart (from Java or Perl) ? - Hi there ! I'd like to make my mac restart, from a Java or Perl program. Does a Java or Perl package exist somewhere to make this easy ? I suppose it's quite simple using AppleScript, but I'm precisely not a Mac programmer, only a Unix programmer (C++,...

How to play audio clips from Perl on OS X? - I have a collection of very short audio clips (mostly numbers and names of people) that I would like to be able to play entirely from within a Perl script running on OS X; i.e. without invoking, e.g. iTunes. I would like to be able to play selections..

starting up an app - ok, i may be dense but exactly where can i put in my initialization routine when i start an app? i'm starting from a new xcode project, cocoa objective-c based project. i tried once to initialize the stuff in the main.c file and it not only didn't work...
   Macintosh computer (Home) -> Programmer Help All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]