sweetser has asked for the wisdom of the Perl Monks concerning the following question:
I am unclear about where I should put images so a module can find them. I would like to have a directory, call it Images, right where the module lives, then have files like Images/foo.png. When I run the perl program that uses the modules, will perl be able to open "Images/foo.png", or do I first need to find out where the module is, then read "$module_dir/Images/foo.png"?
An added question: if I use Build.PL, do I have to tell it to include the images somehow?
Thanks
doug
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Where to keep images so a module can find them
by Tanktalus (Canon) on Sep 04, 2006 at 16:51 UTC | |
by sweetser (Acolyte) on Sep 05, 2006 at 16:52 UTC | |
|
Re: Where to keep images so a module can find them
by ozone (Friar) on Sep 04, 2006 at 16:11 UTC | |
|
Re: Where to keep images so a module can find them
by vkon (Curate) on Sep 04, 2006 at 19:44 UTC | |
|
Re: Where to keep images so a module can find them
by ysth (Canon) on Sep 04, 2006 at 20:46 UTC | |
by xdg (Monsignor) on Sep 04, 2006 at 23:00 UTC | |
by ysth (Canon) on Sep 04, 2006 at 23:09 UTC | |
by xdg (Monsignor) on Sep 05, 2006 at 11:55 UTC | |
|
Re: Where to keep images so a module can find them
by zentara (Cardinal) on Sep 04, 2006 at 19:03 UTC |