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 > Where should I put my subroutine.lib (Perl's subroutines) ?

Where should I put my subroutine.lib (Perl's subroutines) ?
Thread Tools
Junior Member
Join Date: Dec 2000
Location: Montreal,Canada
Status: Offline
Reply With Quote
Apr 23, 2001, 03:06 PM
 
Now, that my simple CGIs (Perl) are running (in CGI-Executables).

Where should I put my subroutine.lib (Perl's subroutines) ?

I've tried at the same level as my CGI (in CGI-Exec..). No

And what will be the correct syntax
require "subroutines.lib"; or
require "../subroutines.lib"; or ?

Should it (the subroutine) be in plain text ?

Thanks in advance.

claudej
     
Admin Emeritus
Join Date: Oct 2000
Location: Boston, MA
Status: Offline
Reply With Quote
Apr 23, 2001, 04:52 PM
 
Perl includes should be stored in the designated area (Defined by the variable "@inc" (which you can print from perl)). I use /Library/Perl.
"Against stupidity, the gods themselves contend in vain" (Schiller)
     
   
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 01:24 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