Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Where to put data that goes with a module?

by BillKSmith (Monsignor)
on Jul 02, 2020 at 15:25 UTC ( [id://11118825]=note: print w/replies, xml ) Need Help??


in reply to Re: Where to put data that goes with a module?
in thread Where to put data that goes with a module?

I have been planning on asking a similar question. In my case, I have an old .pl script which I still occasionally find useful. It requires a large number of sound (.wav) files which it plays by passing their path to "Windows Media Player" with exec. (Because of changes to the Player, it only works reliably on Windows XP. I hope to fix that.) Your suggestion to use build tools to manage the sound files seems like overkill. I have never even attempted to use Makefile.PL and have had only limited success with Build.PL.
Bill
  • Comment on Re^2: Where to put data that goes with a module?

Replies are listed 'Best First'.
Re^3: Where to put data that goes with a module?
by swl (Parson) on Jul 03, 2020 at 00:18 UTC

    Yes, it might well be overkill for many applications. If you have a standalone script that is not going onto CPAN then it's just as easy to add an adjacent data directory to an archive.

Re^3: Where to put data that goes with a module?
by Anonymous Monk on Jul 02, 2020 at 18:57 UTC
    Overkill?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2024-04-25 17:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found