Okies, I did some modifications in the program and found out that the culprit was a path which had \P in it.
The path was something like \\ABCD\C$\XYZ\PQRS\Pbc.log. When I modified the path to \\ABCD\C$\XYZ\\PQRS\\Pbc.log It worked just fine. Now what does \P mean to grep function. I wish to avoid escaping the backslashes again since this would uneccesarily elongate the program execution. Presently I manage by grep for each part at a time. Pbc.log first then PQRS but that it bad as well. Thanks. -----Original Message----- Sent: Friday, July 21, 2006 10:28 PM To: Gupta, Kuldeep; perl-win32-users@listserv.ActiveState.com Subject: Re: Help with unicode character property.. ----- Original Message ----- To: <perl-win32-users@listserv.ActiveState.com> Sent: Saturday, July 22, 2006 1:48 AM Subject: Help with unicode character property.. > Could someone please guide me to the resolution of this issue. > > Can't find unicode character property definition via main->R or R.pl > at unicode/Is/R.pl line 0 > > I started getting this issue when I introduced the following statement > in my code. > > @rec = grep(/$var/,@tmp) > > $var is a path like "\\ABCD\C$\XYZ\KLM\abc.log > > And @tmp has contents of a file which has a list of all the log files > as the format above. > > I observe that the code goes fine upto certain filenames but after > that it display the error as shown above. > > I read that it was a bug in Perl 5.6.1 which is what I have. How to > resolve this? > > Any help would be much appreciated. Best chance is if you can provide a *small* script that demonstrates the problem. Then we can run it and see for ourselves. (I still have a perl 5.6.1 that I can use ... and a perl 5.8.8 for comparison purposes.) It shouldn't be hard for you to provide such a demo script. (Best to hardcode the values into @tmp for us.) Cheers, Rob _______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs