in reply to List Compare
my @a = 'a' .. 'c'; my @b = 'a' .. 'f'; my $compare = do { my $temp = join '.*?', @a; qr/$temp/; }; sub compare { my @b = @_; my $temp = join '', @b; return $temp =~ $compare; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: List Compare
by inman (Curate) on Oct 21, 2005 at 14:32 UTC | |
|
Re^2: List Compare
by sauoq (Abbot) on Oct 21, 2005 at 20:11 UTC |