http://www.perlmonks.org?node_id=302591


in reply to Re: Re: Re: How's your Perl?
in thread How's your Perl?

ah yes, you're right.. it needs more than a one-char fix :-)

the overall idea is still right though (as in, the correct solution is very similar to this), but I overlooked some details of your implementation