From: Patrick Schiess <[EMAIL PROTECTED]>
> can someone of you guys telling me why e.g. this command:
>
> print ("[EMAIL PROTECTED]" =~ /[EMAIL PROTECTED]/i);
>
> on a system with perl 5.10 does not give me back a matching, as the
> same expression gives me back a matching on a perl 5.8.8 system?
Most probably because it handles the @domain differently. Escape the
@. The \Q\E only affects the characters special to regexps, not the $
and @ that denotes a variable to be interpolated into the string.
Jenda
===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed
to get drunk and croon as much as they like.
-- Terry Pratchett in Sourcery
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs