Re: FAQ 6.4 I put a regular expression into $/ but it didn't work. What's wrong?



In article <fdid45-6j6.ln1@xxxxxxxxxxxxxxxxxxxxxxx>, Ben Morrow
<ben@xxxxxxxxxxxx> wrote:

Quoth PerlFAQ Server <brian@xxxxxxxxxxxxxx>:

6.4: I put a regular expression into $/ but it didn't work. What's wrong?

Up to Perl 5.8.0, $/ has to be a string. This may change in 5.10, but
don't get your hopes up. Until then, you can use these examples if you

s/8/10/; s/10/12/;

I think we've gone through the faq to change all the 5.8s to 5.10s and
so on. I haven't refreshed the copy the PerlFAQ server is using,
though.

I'll look at perlfaq6 to check this one again.

Thanks, :)
.



Relevant Pages