Re: Perl Quiz of the Week #23

Mark Jason Dominus <[email protected]>
Newsgroups gmane.comp.lang.perl.qotw.discuss
Message-ID <[email protected]>
John D. Porter:
> 
> Guess I'm a little late, but here are two solutions which
> I think are more or less canonical:

As I think has been pointed out a couple of times, neither one will
produce "(())(())".

> What I have a hard time understanding is why anyone would approach
> this problem as anything other than a string-building task.
> Is a math-based approach, for example, more general?

I hope this doesn't sound snide, because I really don't mean it that
way, but I would be interested to hear your thoughts on this remark
now that you know that your functions don't work.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.