Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

comment on

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

LEARNING and PERFECTION - surely these two points are mutually contradictory? If you're still in the process of learning something, then your code is likely to be naive and suboptimal. You may have missed several edge cases. If you're aiming for perfection, then you shouldn't be using the code you wrote as a learning exercise in production.

CPAN ACCESS If you need to upload code in a cumbersome method, surely that applies equally to code you've copied from CPAN, and code you've written yourself? I can't imagine a situation where copying and pasting code could be more cumbersome than typing new code.

COMPLEXITY It may well be counter-intuitive to you to install a Perl module for a one-time script. But for me, it's counter-intuitive to write reams of code for a script that's only going to be used one time. Better to write my code in modules that I can reuse in multiple scripts; better still if somebody else has already done it for me.

LICENSING The majority of CPAN modules are licensed under the same terms as Perl itself. If their licensing terms are a problem, then using Perl at all is likely to be problematic.

JOB I'm paid to solve problems. If I can reuse other people's code and solve a problem faster, then I can solve more problems.

perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'

In reply to Re: Top 11 (GOOD) reasons not to use someone else's Modules by tobyink
in thread Top 11 (GOOD) reasons not to use someone else's Modules by miketosh

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 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 musing on the Monastery: (3)
As of 2022-05-29 12:58 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (101 votes). Check out past polls.