On Sat, Jan 19, 2002 at 10:24:57AM -0500, Bernie Cosell wrote:
> for those of us not 'up' on the perl 6 doings, could someone explain with
> this bit of line noise will mean?
It's semi-official name is the "hypermatch" operator. It's an array
version of the ordinary =~ match operator. (Which used to be just
for regular expressions, but is now for all sorts of matches.)
So, for instance,
@a = ("foo", "bar", "baz");
@a ^=~ s/a/e/;
turns @a into "foo", "ber", "bez".
On the other hand,
@a ^=~ /a/;
returns (0,1,1). (I think.)
--
So what if I have a fertile brain? Fertilizer happens.
-- Larry Wall in <[EMAIL PROTECTED]>