On 28/05/06, A. Pagaltzis <[EMAIL PROTECTED]> wrote:
I think you'll end up doing s:p5/// or however exactly it is
spelled where you can just write a Perl 5 regex.


#!/usr/bin/pugs
my $v = "one+two+three";
$v =~ s/+/ /;
print $v;

prints...
<Subst>

What's "<Subst>" mean? Do I need to do something special to get the
substitute-affected value back? I get the same result with s:p5. Also
is the operator "~~" or "=~"? I've found contradictory references to
both in books and online.

--michael

Reply via email to