Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

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

by BillKSmith (Prior)
on Jul 02, 2020 at 15:25 UTC ( #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 (Priest) 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
Node Status?
node history
Node Type: note [id://11118825]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2020-11-30 12:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?