What your boss can or cannot understand is totally subjective so I am afraid you will have to argue each feature with him. You can start with the kind of "baby Perl" that he has defined and try introducing new features slowly, showing him how they work and why they are useful, maybe by writing snippets 2 different ways, one that conforms to the current directives and a simpler (and obviously easier to understand) one which introduces a new feature.

This way not only will your boss learn more Perl but you will learn how to teach it.

One thing I would definitely not compromise on would be the use of strict and -w though. These make the code safer, cleaner and easier to read. Declaring a variable (and initializing it if need be) is the perfect place to comment its role. And I really don't see how they can be described as making the code more complex. What part of my $total=0; does your boss not understand? Especially if written as:

my $total=0; # the sum of all prices

In reply to Re: to perl or not to perl by mirod
in thread to perl or not to perl by utopian

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.