Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: Follow the Interface?

by Abigail-II (Bishop)
on Jul 24, 2003 at 08:35 UTC ( #277476=note: print w/ replies, xml ) Need Help??

in reply to Follow the Interface?

You sound like you have to make a choice. What's wrong with giving you access to all the functionality of the underlaying library *and* have a Perl centric API as well?


Comment on Re: Follow the Interface?
Re: Re: Follow the Interface?
by chaoticset (Chaplain) on Jul 24, 2003 at 18:44 UTC

    This is probably the best way to go. Build your module with both the underlying power functionality and the higher level soft stuff and then more people can use it.

    Of course, if somehow the 'simple' API functions don't justify the bulk of the interface, you might want them separated. (Rarely the case, in what I've seen. Using XML::Simple requires XML::Parser (ah, memory...I almost think you can get away with just using some other XML module, but then you still have to download something more complex anyway, kind of a moot point...)) I believe the reason XML::Simple is a separate module is to make the implementation simpler, not to save overhead.

    I'm really just guessing, though.

    You are what you think.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://277476]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2015-03-28 01:17 GMT
Find Nodes?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:

    Results (621 votes), past polls