Perl: the Markov chain saw | |
PerlMonks |
Re: Re: Finding largest common subset in lists?by zby (Vicar) |
on Jun 05, 2003 at 12:44 UTC ( [id://263300]=note: print w/replies, xml ) | Need Help?? |
The updated code does not work for @a = qw(a b c d); @b = qw(a b x b c d). It prints a b c d. The output is suprising for me - I created the inputs to catch another kind of mistake. I believe you can't do it in one sweep.
In Section
Seekers of Perl Wisdom
|
|