Home > Archive > PERL Beginners > June 2005 > problem with $1
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| Nischi 2005-06-03, 3:56 am |
| Hello
The matched string which is stored in $1 is getting corrupted.
the regular expression i have is
"\xa0\xa0\xa0\x{100}" =~ /(\xa0+)/;
when i say ... if($1 eq "\xa0\xa0\xa0") this is true. It is working fine in Linux but not working (ASCII platform) but it is not working in EBCIDIC platform it is not working.
regards,
Nischitha
Failure is the step for success. If you know you are failed it will be easy to climb step.
---------------------------------
Free antispam, antivirus and 1GB to save all your messages
Only in Yahoo! Mail: http://in.mail.yahoo.com
| |
| Toolscripts 2005-06-03, 3:56 pm |
| Perhaps the following applies.
"Usually this name is a single identifier, that is, a string beginning with
a letter or underscore, and containing letters, underscores, and digits."
-ts
----- Original Message -----
From: "Nischi" <nischitha_t_s@yahoo.co.in>
To: <beginners@perl.org>
Sent: Thursday, June 02, 2005 10:16 PM
Subject: problem with $1
> Hello
>
> The matched string which is stored in $1 is getting corrupted.
>
> the regular expression i have is
>
> "\xa0\xa0\xa0\x{100}" =~ /(\xa0+)/;
>
> when i say ... if($1 eq "\xa0\xa0\xa0") this is true. It is working fine
in Linux but not working (ASCII platform) but it is not working in EBCIDIC
platform it is not working.
>
> regards,
> Nischitha
>
>
> Failure is the step for success. If you know you are failed it will be
easy to climb step.
>
> ---------------------------------
> Free antispam, antivirus and 1GB to save all your messages
> Only in Yahoo! Mail: http://in.mail.yahoo.com
|
|
|
|
|