Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

jonasbn (1153)

jonasbn
  reversethis-{gro.napc} {ta} {nbsanoj}
http://e-diot.dk/
AOL IM: BJonasN (Add Buddy, Send Message)

Perl Programmer located in Copenhagen, Denmark. Active member of Copenhagen Perl Mongers.

Author of:

  • Business::DK::CPR
  • Business::DK::CVR
  • Business::DK::PO
  • Business::OnlinePayment::CashCow
  • Date::Holidays
  • Date::Holidays::Abstract
  • Date::Holidays::Super
  • Date::Pregnancy
  • Games::Bingo
  • Games::Bingo::Bot
  • Games::Bingo::Print
  • Module::Info::File
  • Module::Template::Setup
  • Test::Timer

and maintainer of:

  • Tie::Tools
  • XML::Conf
  • Workflow

Journal of jonasbn (1153)

Tuesday January 23, 2007
09:49 AM

Integrating a CPAN a module in your own module

[ #32238 ]

With one of my clients we have a module we use all the time for talking to a web service back-end.

The module helps us access the web services in a uniform manner without too much hassle, it validates whether we have set the right parameters and it then generates the XML and calls the service.

One of my co-workers expanded it's capabilities for validating parameters, so we in addition to: mandatory and optional, could specify: one_of.

I had requested that the module was moved from it's current place (deeply nested in an application) to be accessible as a regular module.

So I got the assignment of setting this up, inspired by the new addition of one_of, I through in the capability of using Data::FormValidator profiles, with great ease...

I cannot imagine how much this gave us of flexibility and functionality for specifying the API's in more detail - and it was so easy integrating this particular CPAN package.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.