Thansk for Reply. I removed the i at the end. But it is not matching.
#! /usr/bin/perl my $test = "abc"; my $test1 = <STDIN>; # Suppose test1 = "AbC" if($test =~ m#$test1#){ print "\n Both are Same"; } else{ print "\n Both are not Same"; }
In reply to Re^2: How to match String with Case Sensitive??
by Sachin
in thread How to match String with Case Sensitive??
by Sachin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |