Oh my god it 's full of modules

jonasbn on 2002-08-13T06:58:56

Well luckily for me I had another chanche to go to Bornholm last weekend. This normally mean for me that I get to code some. The train and the ferry is marvellous for this kind of past time activity.

Well anyway I coded and generalized a small need I had - a small sub which can assert what have been fed to a sub as named args (anonymous hash). This is my preferred way of passing arguments when writing OOP code.

Well after having uploaded the stuff to the CPH.pm CVS server I made a few searches on CPAN to see whether anybody had done the same, and well there it was 'Getargs::Long' doing to my knowledge somewhat the same, and being even smarter, so I tried to install it, and *BOOM* it failed apparently it needs another logging module... so my question to myself this week is, does this experience mean that there is room for my module?

- I don't know, but for now I assume so... so now I just need to try it out in a project, then I might send it to CPAN...


Params::Validate

Matts on 2002-08-13T12:07:44

Most people seem to be using Dave Rolsky's Params::Validate module for doing that. It's well developed and well supported.

Re:Params::Validate

jonasbn on 2002-08-17T15:36:31

Thanks a bunch for the tip, I didn't think anybody read my journal and would even repond to my questions - thanks! :)