On Sat, 06 Oct 2001 22:20:49 -0400, John Siracusa wrote:
So, in the
operator, the filter is the adverb:
$sum =
@costs : {$^_ 1000};
WTF is that operator? All I see is a black block. We're not in ASCII any
more, Toto...
--
Bart.
Bart Lateur [EMAIL PROTECTED] writes:
On Sat, 06 Oct 2001 22:20:49 -0400, John Siracusa wrote:
So, in the
operator, the filter is the adverb:
$sum =
@costs : {$^_ 1000};
WTF is that operator? All I see is a black block. We're not in ASCII any
more, Toto...
I'm guessing
On 10/10/01 7:27 AM, Piers Cawley wrote:
Bart Lateur [EMAIL PROTECTED] writes:
On Sat, 06 Oct 2001 22:20:49 -0400, John Siracusa wrote:
So, in the
operator, the filter is the adverb:
$sum =
@costs : {$^_ 1000};
WTF is that operator? All I see is a black block. We're not in
Damian Conway:
# So, in the
operator, the filter is the adverb:
#
# $sum =
@costs : {$^_ 1000};
#
# Does that mean that in the built-in print, the file
# handle is the only
# in-band argument, and all the actual items to be
# printed are merely
# adverbs?
#
#
From EX3:
A subroutine's adverbs are specified as part of its normal parameter list, but
separated from its regular parameters by a colon:
my sub operator:
is prec(\operator:+($)) ( *@list : $filter //= undef)
{ ...
This specifies that operator:
can take a single scalar adverb, which is