new module proposal
  Home FAQ Contact Sign in
comp.lang.perl.modules only
 
Advanced search
POPULAR GROUPS

more...

comp.lang.perl.modules Profile…
 Up
new module proposal         


Author: mättu
Date: Mar 29, 2008 11:02

Hi everyone

This is my first posting and my first module (proposal) for CPAN.
I need some advice..
I am about to write a module (another one you may say) to put things
on images.
The concept is to cut an image into boxes on which things are drawn.
There are (and will be more) backends for graphics libraries. The goal
is to use the same user code with different libraries like GD,
ImageMagick, Imager and so on. One could start a programm with IM and
then just switch to GD by defining a different library in the
constructor method.

The idea is to make it easy to implement more backends.
And to make it easy to write wrappers which use the basic
functionality of the module. And wrapper-wrappers.. ;-)

You may find the code here:
http://puffin.ch/perl/mnnm/

There is some documentation as well..
Perhaps read lib/MNNM.pm / lib/MNNM.html first.
Show full article (1.30Kb)
2 Comments
Re: new module proposal         


Date: Mar 29, 2008 19:32

On 03/29/2008 01:02 PM, mättu wrote:
> Hi everyone
>
> This is my first posting and my first module (proposal) for CPAN.
> I need some advice..
> I am about to write a module (another one you may say) to put things
> on images.
> The concept is to cut an image into boxes on which things are drawn.
> There are (and will be more) backends for graphics libraries. The goal
> is to use the same user code with different libraries like GD,
> ImageMagick, Imager and so on. One could start a programm with IM and
> then just switch to GD by defining a different library in the
> constructor method.
>
> The idea is to make it easy to implement more backends.
> And to make it easy to write wrappers which use the basic
> functionality of the module. And wrapper-wrappers.. ;-)
>
> You may find the code here:
> http://puffin.ch/perl/mnnm/ ...
Show full article (1.62Kb)
no comments
Re: new module proposal         


Author: sisyphus
Date: Mar 30, 2008 02:45

On Mar 30, 5:02 am, mättu wrote:
.
.
> When should I ask for an PAUSE account?

You can create a PAUSE account whenever you like. (You don't have to
wait until you've got something to upload to CPAN.)

When you get around to uploading your module you can also "register
the namespace" if you want. But namespace registration is not
compulsory - and it's my impression that many authors don't go to the
trouble of registering their modules. I forget the details of
namespace registration as I no longer bother with it - but it's not
hard if you do want to register your module.

These days, if I want to upload a new module to CPAN I simply upload
the source tarball (tar.gz) using my PAUSE account (by selecting
"Upload a file to CPAN" on the PAUSE menu), and everything else gets
taken care of automatically - without any further action on my part.

Cheers,
Rob
no comments