andyede
11-12-2004, 01:13 PM
i just wrote a module that deals with HTML templates and printing ect.
it seems to work fine but i have a problem with importing it. the only way i can get it to load up is if i put in in my C:/perl/lib dir with all the others. i've used modules for ages that are in the same directory as the script or even in higher or lower ones just using require 'path/mod.pm'; so why am i getting the Can't locate HTML.pm error with this module when its sitting next to the file?
i havn't seen this error before and i can't see why its doing it
it seems to work fine but i have a problem with importing it. the only way i can get it to load up is if i put in in my C:/perl/lib dir with all the others. i've used modules for ages that are in the same directory as the script or even in higher or lower ones just using require 'path/mod.pm'; so why am i getting the Can't locate HTML.pm error with this module when its sitting next to the file?
i havn't seen this error before and i can't see why its doing it