Thanks Charles -
You were close, perhaps the actual inspiration for the ultimate solution,
which I emailed out at the same time you sent me your message to try:
use lib 'c:/path/to/parent/of/includes/';
require "includes/28ESP.pl";
I have found that this works:
my $mylib = 'includes/28ESP.pl';
require $mylib;
OR
require 'includes/28ESP.pl';
Why the big difference between " and ' ???
Douglass N. Loud
President
Integrated Information Systems, Inc.
292 Fifth Avenue
New York, NY 10001
212-714-3522 (office)
203-952-7108 (cell)
[EMAIL PROTECTED]
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Charles K. Clarkson
Sent: Thursday, July 07, 2005 5:16 PM
To: [email protected]
Subject: RE: Using canned subroutines with includes
Doug Loud <mailto:[EMAIL PROTECTED]> wrote:
: Afternoon, Charles -
Hi.
: I tried your suggestion of:
:
: use lib 'c:/path/to/parent/of/includes';
:
: require "/includes/28ESP.pl";
Try this. If it works, you can try shortening the first path. On my XP
system '.' works there.
use lib 'c:/path/to/parent/of/includes/';
require "includes/28ESP.pl";
HTH,
Charles K. Clarkson
--
Mobile Homes Specialist
254 968-8328
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs