Hi All, I am meeting a problem on a regular expression.
My code is like: $path_elem = "$ENV{'CLEARCASE_PN'}"; The return value of $path_elem is either $path_elem = /ccstore/test/test.pl Or $path_elem = /ccstore/test 1/test 1.pl # there is a space in the path name including the file name too There is no rule whether there is a space in the path name or not. How can I handle it in regular expression, because when I pass the value $path_elem to a function, if there is a space in the path name, it will treat it 2 file path name, instead of one. I used the following code $path_elem = "\"$ENV{'CLEARCASE_PN'}\""; It works fine for windows, but does not works fine on unix. I really appriciate your great help. Thanks Lucy _______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs