* Jerome Quelin <[EMAIL PROTECTED]> [2008-04-25 09:40]:
> i'm writing a tk app that i'm shipping as a cpan dist. this app
> needs some extra resource files (icons, etc) i'd like to know
> what's the best method to ship extra data files in a dist.

Do they need to be physical files or do you just need the data to
tag along somewhere? If you just need the data the, you could
have a helper script that takes the files in the source tree and
sticks them at the bottom of your main module after __DATA__, or
in a My::App::Data module after __DATA__, or as string constants,
possibly uuencoded (cf. `perldoc pack`), etc.

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>

Reply via email to