OT: module related question

Martin Bower martin.bower at gmail.com
Fri Sep 7 15:48:47 BST 2007


I've created a module using Module::Starter, and I've added a file which
contains a complex data structure, created with Storable.  (and added it to

I can perl Makefile.PL, make , make test , make install,  and the file goes
into place along with the module, so everything is ok so far.

How can I refer to that file from within the module so I can retrieve it ?!?
The module has installed into lib/site_perl/5.6.1 , but is there some clever
method of finding out where its installed to ?

To make it slightly complicated, I'll need to build this on Solaris and
Windoze, and was going to use $^0 to determine which.

could someone point me in the right direction pls ?


More information about the london.pm mailing list