Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Hi Ovid,

I'm not going to comment on the name - I'm lousy with names :-) But I have to wonder about your motivation for writing this module - what's the purpose?
If a module is completely OO, you should be able to write the long name only once - when you call new() (or if you call new() several times, save the long name in a variable, as Gaal suggested). Afterwards, all the data and methods should be accesible using $object->method(), for example. Isn't that what OO is all about?

There was a discussion about this a while ago which started with a question I sent to the mailing list:

From what was said, I'm pretty convinced that you don't need a module such as the one you've written for OO modules. Am I wrong?

In reply to Re: Module Naming Dilemma by SolidState
in thread Module Naming Dilemma by Ovid

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?

What's my password?
Create A New User
Domain Nodelet?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2023-06-08 11:50 GMT
Find Nodes?
    Voting Booth?
    How often do you go to conferences?

    Results (30 votes). Check out past polls.