in reply to Re: Looking for suggestions for accessing/running scripts needed by a local Perl library
in thread Looking for suggestions for accessing/running scripts needed by a local Perl library

from DESCRIPTION of File::ShareDir:

Perl provides [i.e. "to have access to a large amount of read-only dat +a that is stored on the file-system at run-time" ] a little-known met +hod for doing this, but almost nobody is aware that it exists.

do you know what this little-known method is?

  • Comment on Re^2: Looking for suggestions for accessing/running scripts needed by a local Perl library
  • Download Code

Replies are listed 'Best First'.
Re^3: Looking for suggestions for accessing/running scripts needed by a local Perl library
by kcott (Archbishop) on Jan 25, 2024 at 20:40 UTC

    I first came across File::ShareDir about five or so years ago. Like you, I found the esoteric "little-known method" description unhelpful and confusing.

    I've used it in conjunction with File::ShareDir::Install. I've only used the simplest case (as described in the SYNOPSIS): I found it straightforward, easy to use, and haven't encountered any problems with it.

    — Ken