shipping extra files in a dist?

2008-04-25 Thread Jerome Quelin
hi there, 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. where to put them in the dist tar file: - create a data subdir under lib/Foo/Bar (assuming it's dist

Re: shipping extra files in a dist?

2008-04-25 Thread Sébastien Aperghis-Tramoni
Jerome Quelin wrote: hi there, 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. where to put them in the dist tar file: - create a data subdir under

Re: shipping extra files in a dist?

2008-04-25 Thread Ricardo SIGNES
* Jerome Quelin [EMAIL PROTECTED] [2008-04-25T03:36:25] 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. For this, I have sometimes used

Re: shipping extra files in a dist?

2008-04-25 Thread Aristotle Pagaltzis
* 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

Application Building

2008-04-25 Thread Austin Schutz
Ok, so here's what must be a question with a really simple answer: how do I write a perl app? For example: I want to display a jpeg. MyApp/script/display.pl: #!/path/to/perl use Myapp::Display; Myapp::Diplay-new()-display('example.jpg'); __END__ MyApp/lib/Myapp/Display.pm

RE: Application Building

2008-04-25 Thread Burak Gürsoy
I think you need PAR -Original Message- From: Austin Schutz [mailto:[EMAIL PROTECTED] Sent: Friday, April 25, 2008 10:43 PM To: module-authors@perl.org Subject: Application Building Ok, so here's what must be a question with a really simple answer: how do I write a perl app?

Re: Application Building

2008-04-25 Thread Austin Schutz
On Fri, Apr 25, 2008 at 11:09:32PM +0300, Burak Gürsoy wrote: I think you need PAR Maybe, but this seems a bit like killing an ant with a nuclear bomb. It means the app will have to suck everything in memory at compile time. It will also need to be rewritten to use special PAR methods to

Re: Application Building

2008-04-25 Thread Jonathan Rockway
You really didn't say much about what you're trying to do. You said you did some stuff and some other stuff didn't happen. It's hard to help you -- what *exactly* is the problem? (There are plenty of things that install and run apps on the CPAN. App::Ack comes to mind. It Just Works, there

Re: shipping extra files in a dist?

2008-04-25 Thread Gabor Szabo
On Fri, Apr 25, 2008 at 6:43 PM, Aristotle Pagaltzis [EMAIL PROTECTED] wrote: * 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