Re: A5: hypotheticals outside regexen

2002-06-05 Thread Damian Conway
You have I how often that would have been useful. It's a great > exception safety mechanism... like C++'s "resource aquisition is > initialization" thingy, but without having to write a class for every > variable. Have you already forgotten KEEP and UNDO (that we introduced in A4/E4): our $

Re: A5: hypotheticals outside regexen

2002-06-05 Thread Damian Conway
> Page 13 tells use about C decls. But it also says that the topic must > be a regex. Whilst it explains that this isn't really a problem, I'm not > sure that it justifies it. So perhaps someone can clarify why this > (hypothetical) code in not a reasonable generalization: Because Perl code doesn

Re: A5: hypotheticals outside regexen

2002-06-05 Thread Luke Palmer
You have I how often that would have been useful. It's a great exception safety mechanism... like C++'s "resource aquisition is initialization" thingy, but without having to write a class for every variable. On Wed, 5 Jun 2002, David Whipp wrote: > Page 13 tells use about C decls. But it als

A5: hypotheticals outside regexen

2002-06-05 Thread David Whipp
Page 13 tells use about C decls. But it also says that the topic must be a regex. Whilst it explains that this isn't really a problem, I'm not sure that it justifies it. So perhaps someone can clarify why this (hypothetical) code in not a reasonable generalization: our $foo = 0; sub do_somethin