Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

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?

Abigail


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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2014-12-18 01:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (41 votes), past polls