|
|
| Keep It Simple, Stupid | |
| PerlMonks |
Comment on |
| ( #3333=superdoc: print w/ replies, xml ) | Need Help?? |
|
eval string, from a mod_perl guy! I'd be shocked, if I didn't think you had a good reason. :)
I'd still prefer subrefs, can, and maybe even some symbolic references with map: %commands = map { $_ => \&{ $_ } } keys %commands; Season to taste. Update: Not that eval is slow, but that eval string has some memory leaks not fixed until 5.8. That can be nasty in mod_perl. In reply to Re: Re: Would you use 'goto' here?
by chromatic
|
|