It would be neat if one could tell the perl compiler: "all text from the fat-comma to the semicolon is a bunch of whitespace separated words, I just dont feel like putting qw() or '' around them, you do it. So that
$p += cs_req => qw(basic_cs math_req); $p += basic_cs => qw(intro_rec comp_org adv_prog); $p += intro_req => 'intro_cs'; $p += intro_req => qw(introI introII);
could be written as
$p += cs_req => basic_cs math_req; $p += basic_cs => intro_rec comp_org adv_prog; $p += intro_req => intro_cs; $p += intro_req => introI introII;
If anyone is bored and wants to write this (a simple source filter should do it), please let me know when it's done.

UpdateHowever the attempt to use an entire list as the second argument to a binary operator with overload failed: the first argument is the object ($p) and second argument is the first value of the list and the rest of the list is ignored... so I guess I will revert to a less fancy way of doing this:

$p->assert(cs_req => qw(basic_cs math_req));

In reply to use mode quotewords; # someone write it by princepawn

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.