Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

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?


Replies are listed 'Best First'.
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 nobody stirs...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2018-06-20 05:54 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (116 votes). Check out past polls.