Anybody can tell me any method to match Case Sensitive String. I wouldnot like to convert the $test1 in lowercase. I want to match as it is.
#! /usr/bin/perl my $test = "abc"; my $test1 = "AbC"; if($test =~ m#$test1#i){ print "\n Both are Same"; } else{ print "\n Both are not Same"; }
In reply to How to match String with Case Sensitive?? by Sachin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |