How to store data for a perl module

Scott Penrose scottp at dd.com.au
Sat Feb 23 17:35:58 CST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hey Dudes

Perl has a nice facility for storing data in a module by using __DATA__ 
etc.

However I have a standard data format that is used by multiple systems 
(including a pending Java version etc) so putting it in DATA is not a 
really good idea.

Anyway my problem is this. I have a file call regulator.dat (which can 
have another name).

Where should I put it in the file system so that my perl module can find 
it. Remember that perl modules can be installed in multiple operating 
systems including Windows and Mac so putting it in /var/X, or /usr/lib/X 
or /etc/X is not a good idea necessarily.

Is there no answer to this, damn it ?

Scott
- ---
Scott Penrose
Open source and Linux Developer
http://linux.dd.com.au/
scottp at dd.com.au
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (Darwin)
Comment: For info see http://www.gnupg.org

iD8DBQE8eCdjDCFCcmAm26YRApKVAJ4qgURuXkrviBa/opNBe0DMDWwvSQCfX+ZF
c0n9pcr+Aw26t9aFomU4AZQ=
=ye7y
-----END PGP SIGNATURE-----




More information about the Melbourne-pm mailing list