Lange wrote:
> $var="�init1�Dresden,�m� Gewerbeg. Kesselsdorf";
> 
> After a
> 
> $var=~s/(\xf4.*?\xf5)//g;
> 
> it�s supposed to keep the following:
> 
> "Dresden, Gewerbeg. Kesselsdorf"
> 
> 
> 
> With my old version (v5.005_3 build 517) it worked without 
> any complications.
> 
> with the new perl-version (v5.6.0 build 616) it doesn�t work.

What happens when you do it? What's the value of $var after the s/// in Perl
5.6.0?

(Note that if you're typing in the example text under DOS, � is no longer
"\xf4" due to the different code pages in DOS and Windows. Is that maybe
your problem?)

Cheers,
Philip
-- 
Philip Newton <[EMAIL PROTECTED]>
All opinions are my own, not my employer's.
If you're not part of the solution, you're part of the precipitate.
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl

Reply via email to