if I remove the \\ from each string then output for both is 1. help or valium needed$filename_a = "c:\\abc.log"; $filename_b = "c:\\abc.log"; print "Are they equal ? : "; print $filename_a eq $filename_b ; # output is 1 print "\n"; print "Do they match ? : "; print $filename_a =~ /$filename_b/ ; # output is blank
In reply to NT paths and regexp by tent8f
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |