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

I believe the Perlish way to manage non-Perl resources used by a package is File::ShareDir. David Farrell did a pretty good write-up on ways to include data with a Perl distribution. Not all of these will apply in your case.

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

Replies are listed 'Best First'.
Re^2: Looking for suggestions for accessing/running scripts needed by a local Perl library
by bliako (Abbot) on Jan 25, 2024 at 11:49 UTC

    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?

      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