Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: What is the /auto/ directory used for?

by xdg (Monsignor)
on Aug 20, 2006 at 16:31 UTC ( #568430=note: print w/replies, xml ) Need Help??

in reply to What is the /auto/ directory used for?

Not related to the problem at hand, but in answer to what /auto/ is for -- it can also be used to store module/distribution-specific shared files, such as templates, data, etc. See File::ShareDir for examples.


Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.

  • Comment on Re: What is the /auto/ directory used for?

Replies are listed 'Best First'.
Re^2: What is the /auto/ directory used for?
by adamk (Chaplain) on Aug 20, 2006 at 21:30 UTC
    I should note also that the auto directory is specifically only for read-only files that are created at install-time, and not for any other sort of file. Once installed, nothing in auto will ever change.

    Although it was created originally for autosplit et al, the creation of File::ShareDir and related things has grown off this original purpose, as a place to put things that aren't libs, that are auto-generated or provided at install time.

    You may like to think of it as sort of like a Perl-specific platform-neutral version of /var/share on Unix.
      Not /var/share. /usr/share is for read-only access.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2021-07-26 01:36 GMT
Find Nodes?
    Voting Booth?

    No recent polls found