in reply to How to campare two variable consist line and print difference
if ($string =~ /doesn't/ or $string =~ /don't/) { do_something(); } else { something_else(); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to campare two variable consist line and print difference
by GrandFather (Saint) on Sep 15, 2014 at 09:19 UTC |