$Bill Luebkert wrote: > Doug Loud wrote: > > >> >>Well, here's an answer: >> >>I started with: require "/Includes/28ESP.pl"; and that didn't work. >> >>Then I tried all the other combinations you all were kind enough to suggest. >>Still no luck. >> >>Finally, I discovered that both of these will work: Hooray! >> >>my $mylib = 'includes/28ESP.pl'; >>require $mylib; >> >> OR >> >>require 'includes/28ESP.pl'; >> >>In view of the email conversation this started, it is intriguing to note >>that these statements work with single quotes and no delimiter or . in front >>of the includes. On XP Pro, SP2, that is.... > > > Doug, you're screwing our minds over. If the above works, then you must > be in the directory above the required script. > > Answer these two questions: > > What is the full path to the script ? : > > What is the full path to the script you are trying to require ? :
Missed one: What is the full path of the directory you are in when you run the script (CWD) ? : -- ,-/- __ _ _ $Bill Luebkert Mailto:[EMAIL PROTECTED] (_/ / ) // // DBE Collectibles Mailto:[EMAIL PROTECTED] / ) /--< o // // Castle of Medieval Myth & Magic http://www.todbe.com/ -/-' /___/_<_</_</_ http://dbecoll.tripod.com/ (My Perl/Lakers stuff) _______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs