I have a snippet of code which follows like this ############################################################################
$var = "C:/Perl/examples/Extending/Typemaps_with_XS/Car_c++_obj/test.pl"; $var1 = "C:/Perl/examples/Extending/Typemaps_with_XS/Car_c++_obj"; if ($var =~ /^$var1/) { print "Hello\n"; # } ############################################################################ I get the following error when executing the code : Nested quantifiers before HERE mark in regex m/^C:/Perl/examples/Extending/Typem aps_with_XS/Car_c++ << HERE _obj/ at x6.pl line 5. Obviously it's because of the c++ that regex is having problem with!! Is there a way around?? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]