On Fri, 15 Sep 2000 01:36:50 -0800, Michael Fowler wrote:
>Or maybe an alternative, using &:
>
> "foo &foo(arg, arg, arg) bar"
> "foo &{ foo(arg, arg, arg) } bar"
Ah, yes, &{...}, I kinda like that. Unfortunately, in regexes, /&{1,3}/
means matching 1 to three ampersands. There's a slight compatibility
problem, there.
>Or maybe we need a more generic solution (as someone else suggested, I
>forget who). Something that allows the arbitrary execution of code, much
>like @{[ ]}, but cleaner.
I did, for one, including in the post you just replied to. That's what
the tied hash solution tried to emulate. Wasn't that obvious? ;-)
>Unfortunately, I can't think of anything suitable.
Well, you said it yourself: "&{...}".
--
Bart.