Madam has asked for the wisdom of the Perl Monks concerning the following question:
HI,
I want to find whether 2 strings are matching...
consider the 2 strings,
the result should be the string1 & string2 are matching...as they are having same words in different order. and if the 2 strings aremy $string1 = ~cake,pastry my $string2 = pastry,~cake
then the result should be the 2 strings are not matching... though they are in the same order,"cake" is different from "~cake" I searched in Q&A section but didnot find the correct solution.sorry to bother if the answere is already present here. -Madammy $string1 = cake,pastry my $string2 = ~cake,pastry
Back to
Seekers of Perl Wisdom