Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: Where should a module's static datafile reside?

by runrig (Abbot)
on Aug 26, 2001 at 05:58 UTC ( #107880=note: print w/replies, xml ) Need Help??

in reply to Where should a module's static datafile reside?

Its all a matter of opinion, of course, but mine is to put the file in the same directory or a sub directory as the module (maybe a subdirectory so the search path is not as cluttered as Zaxo suggests). Then its easy to find the file by parsing the path out of the __FILE__ variable.

I think there's plenty of examples of config and data files under the @INC directories, another won't hurt.

  • Comment on Re: Where should a module's static datafile reside?

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://107880]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2022-01-20 16:07 GMT
Find Nodes?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:

    Results (57 votes). Check out past polls.