in reply to Re: Fastest way to compare multiple variables?
in thread Fastest way to compare multiple variables?
#!/usr/local/bin/perl -w use strict; my @list=("abcd123","abcd143","abcd123","abcd123"); $_=join("",@list); s/$list[0]//g; print "not equal\n" if ($_);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Fastest way to compare multiple variables?
by owendelong (Initiate) on Feb 27, 2013 at 00:27 UTC | |
by topher (Scribe) on Feb 27, 2013 at 00:58 UTC |