Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re: How to use Safe to compile anonymous subs

by zshzn (Hermit)
on Jul 30, 2008 at 23:00 UTC ( #701298=note: print w/replies, xml ) Need Help??

in reply to How to use Safe to compile anonymous subs

I'm curious just what version of Safe you're using, given the usage problems.

Can't use ":default" as root name at line 10

Anyways, it doesn't work like that. When you reval($code), it analyzes the code path it has to build. Look at the optree for the sub you generate. Using a subroutine is part of :base_core, so no problem there.

If you remove the sub{} wrapper in $code you can get closer to understanding your problems.

  • Comment on Re: How to use Safe to compile anonymous subs

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://701298]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2022-05-24 19:27 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (84 votes). Check out past polls.