I would suggest you simply describe what is wrong with the practices you disagree with, or if they aren't wrong per se, why your alternative is better. That would go much farther than appealing to community standards.

In your first example, programmers in every language learn about the value of code re-use, so your senior developer knows he should do it; perhaps he is just unfamiliar with Perl modules. Surely those well-known advantages are case enough to make the change. And a senior developer should know from experience that tracking down and modifying each and every one of those duplicated code sections will take longer than it would to read a tutorial on how to use modules. If not longer in time, greater in annoyance! And a new skill would be gained.

The more general argument would apply for learning how to search CPAN. Or at least to learn about what functionality the core modules provide.

Dum Spiro Spero

In reply to Re: Advice on best practices by GotToBTru
in thread Advice on best practices by goldcougar

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



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.