Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

comment on

( [id://3333] : superdoc . print w/replies, xml ) Need Help??
I have worked in several companies in my day, and I am sure that many people will share my laments here. There are two kinds of companies out there in the world making use of Perl. One set is who I would call "the right ones" such as eToys, The reason these places are right is that they don't see Perl as just the language, but as a culture of contributing people all encountering similar problems and working towards similar solutions. recently did a "buy a damian" thing on Stas Bekman, employing him to work fulltime on mod_perl development. In this way, is spending money upfront to ensure that a technology that they rely on will be around and top of the line.

The wrong way to use Perl is to see it as a "free language" and then run off and write a bunch of unreleased code. Most of this code however, is doing nothing but what CPAN modules do : application configuration AppConfig could've done it for them, templating (take your pick), database connections DBI + the whole gang of application layers on it, regression suites (yes, there are places that don't use Perl's builtin Test and instead use homegrown things that are less capable.... aaaaaahhhh!.

The reason this is bad use of Perl is that most people are running into the same problem and you are just reinventing the wheel. The second reason it is bad is that incoming contractors (moi) have to get up to speed with Yet Another Version of something Widely Used and Loved on CPAN. The final reason is that your test suite only get's hammered under certain conditions. And also check this out: A specific application should be an instantiation of a collection of generically useful modules. And if it isn't then you can be sure that it will not scale well And finally, just look at all the free documentation you get!

This post is what I want to say to my boss' boss, but I would be talking to a brick wall to do so. I meant to write it 2 weeks ago, but I said "ah, forget it" but my effectiveness at my job continues to dwindle and largely for this reason.

Oh and the title of this post? It just means that Perl is like a tree. It has roots. stem, branches, and leaves. To only take the Perl language and leave the rest is like having a stump in the ground as opposed to a 500 foot redwood sequoia.

In reply to The worst amputation possible: Perl proper as Open Source software by princepawn

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.