laziness, impatience, and hubris | |
PerlMonks |
Re: Where to keep images so a module can find themby vkon (Curate) |
on Sep 04, 2006 at 19:44 UTC ( [id://571142]=note: print w/replies, xml ) | Need Help?? |
Tk.pm uses "findINC" subroutine which helps with finding an image near module installation, look into it to see the logic.
Other approach (used in many Tk modules) is to base64-encoding image data into PM file itself. But in general, this is indeed a bit of a problem, without sole solution, and each module uses its own way.
In Section
Seekers of Perl Wisdom
|
|