On Tue, Nov 30, 2004 at 03:17:42AM +0300, Alexey Trofimenko wrote:
: Why to introduce (or REintroduce) something if we have something
: similar already?
: 
:      $captured = system :capture q/cmd../;

By the way, that one happens to be illegal at the moment.  To use
pairs as part of an argument list you have to install a comma like this:

    $captured = system :capture, q/cmd../;

As it currently stands, you may only omit comma between :pairs.  Otherwise
we don't know how to parse this:

    print $y / $x :round(2) / 3;

With an assumed comma after the :round(2), the / would be taken as
the start of a pattern.

Possibly we can fix this for :pairs that are the first thing a list, though.
It seems to be a trap that p6l'ers keep falling into.

Larry

Reply via email to