in reply to Re: How to match String with Case Sensitive??
in thread How to match String with Case Sensitive??
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"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to match String with Case Sensitive??
by Anonymous Monk on Oct 30, 2009 at 12:17 UTC | |
by Sachin (Acolyte) on Oct 30, 2009 at 12:27 UTC | |
by vitoco (Hermit) on Oct 30, 2009 at 13:12 UTC |