in reply to Is there a way to compare strings without using an array?
say $line2 =~ /[$line1]/g; say $line1 =~ /[^$line2]/g, $line2 =~ /[^$line1]/g;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Is there a way to compare strings without using an array?
by CountZero (Bishop) on Oct 18, 2011 at 20:08 UTC | |
Re^2: Is there a way to compare strings without using an array?
by Jeri (Scribe) on Oct 18, 2011 at 19:34 UTC | |
by toolic (Bishop) on Oct 18, 2011 at 19:45 UTC | |
by Jeri (Scribe) on Oct 18, 2011 at 19:51 UTC | |
by Jeri (Scribe) on Oct 18, 2011 at 20:00 UTC | |
by jeffa (Bishop) on Oct 18, 2011 at 21:44 UTC | |
by ikegami (Patriarch) on Oct 18, 2011 at 22:45 UTC | |
by ikegami (Patriarch) on Oct 18, 2011 at 22:49 UTC |
In Section
Seekers of Perl Wisdom