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.

-xdg

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.