Indeed.

When I posted the OP, I really was hoping for a 'use an anonymous block to disambiguate an indirect object' type of fix.

The original designer of Perl ought to have repented long ago and designed a better language as penance. :-)

Don't be too hard on him. I'm still of the opinion that he did a pretty damn good job with Perl 5.

So good in fact that after 7 years of pretty in-depth usage I'm still 'discovering' built-in features that allow one or two statements to do the same job as would take one or two screenfuls in most other languages.

What's more, the way the language elements combine to effect those features, they can not have come about by a accident. They had to have been thought about in depth at the design stage, despite the fact that in many cases there are one (or a dozen) modules on CPAN that re-implement those features, (often badly), using one or two (or three) screenfuls. Usually authored by someone who went looking for the feature but failed to recognise the forethought that had gone into providing for it, and simply missed it.

As for Perl 6. Raduko seems to be coming along quite nicely. I really hope that the implementation eventually meets up with the authors vision. I can see myself spending twice as long (and more) as its prolonged gestation, exploring all it's facets. And thoroughly enjoying the experience.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."

In reply to Re^5: Hard syntax error or disambiguable parsing? by BrowserUk
in thread Hard syntax error or disambiguable parsing? by BrowserUk

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.