On Tue, Jan 08, 2002 at 10:08:05AM -0000, Ivor Williams wrote:
> Normally, with on-the-fly code, you just eval it to get what you want. Here,
> I don't want to run it, but to generate an anonymous code ref.

Like...

    my $coderef = eval ("sub{$codestring}");    $@ && die;

...?

Wesley.

Reply via email to