in reply to Re: regular xpression stuff
in thread regular xpression stuff
shouldnt
After adding the parenthesis , i get "Success" (i.e. "bat" = "tab" based on your example), without them the result is "Failure"
beif ( join '', sort split(//, $word) eq join '', sort split(//, $to_be_matched ) ) {
(extra parenthesis added )if ( join('', sort split(//, $word)) eq join('', sort split(//, $to_be +_matched)) ) {
After adding the parenthesis , i get "Success" (i.e. "bat" = "tab" based on your example), without them the result is "Failure"
|
---|
In Section
Seekers of Perl Wisdom