#include for Perl?

John Evans jtevans at kilnar.com
Tue Oct 15 11:02:50 CDT 2002


On Tue, 15 Oct 2002, Keary Suska wrote:

> This is an easy thing to do, and the require should work best in most
> circumstances. What seems to be wrong? The require'd file must return a true
> value, and if you "use strict" you you will need to declare the vars as
> global using our() (5.6+) or use vars, and require it in the global scope
> for good measure.
>

require is working. Seems like last night, I was trying to "reqire" files
(note the lack of a 'u'). Guess that's what I get for coding during a
hockey game..

Thanks for the insight!

-- 
John Evans
http://jtevans.kilnar.com/

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS d- s++:- a- C+++>++++ ULSB++++$ P+++$ L++++$
E--- W++ N+ o? K? w O- M V PS+ !PE Y+ PGP t(--) 5-- X++(+++)
R+++ tv+ b+++(++++) DI+++ D++>+++ G+ e h--- r+++ y+++
------END GEEK CODE BLOCK------




More information about the Pikes-peak-pm mailing list