Michael Mathews skribis 2006-05-28 15:46 (+0100):
> $v =~ s/+/ /;
That is:
$v = (~ s/+/ /);
> What's "<Subst>" mean?
That is how Pugs stringifies "s/+/ /", as requested with the
stringification operator "~"
> Also is the operator "~~" or "=~"? I've found contradictory references
> to both in books and online.
It was "=~" in Perl 5, but it's "~~" in Perl 6. Please report
occurrences of "=~" to the respective authors.
The negated version is "!~", as it was in Perl 5.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html