Re: regarding problem with $1 in regexec

2005-06-06 Thread Offer Kaye
On 6/6/05, Nischi wrote: > This works in ASCII but my question is why is it not working in EBCIDIC. why > $1 is not having \xa0\xa0\xa0. As I said, I don't know. I don't have access to such a system. (It's called EBCDIC, by the way - no "I" between the "C" and "D") Maybe it's your Perl version.

Re: regarding problem with $1 in regexec

2005-06-06 Thread Offer Kaye
On 6/6/05, Nischi wrote: > Hello > i am having something like this ... > > $b = "\xa0\xa0\xa0\x{100}" =~ /(\xa0+)/; Try not to use "$b" (or "$a") as variable names. "$a" and "$b" are the special Perl sort variables and using them can cause strange bugs, for example because even under "use strict"