Help for this page
$x = "I like dogs.";
$y = $x =~ s/dogs/cats/r;
print "$x $y\n"; # prints "I like dogs. I like cats."
Bareword found where operator expected at r.pl line 2, near "s/dogs/ca
syntax error at r.pl line 2, near "s/dogs/cats/r"
Once (shame on you!)
Twice (shame on me!)
More often than I'd like to be
All the time
Just when answering stupid polls
Who you callin' a fool?
I refuse to vote in this ridiculous poll
Results (542 votes). Check out past polls.