Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

djberg96 (2603)

djberg96
  (email not shown publicly)

Journal of djberg96 (2603)

Tuesday March 19, 2002
01:57 PM

Down Safe

[ #3646 ]
I played with the Safe.pm module today and figured out how to safely eval both named and anonymous subs. It took me a bit to figure out how to do anonymous subs (not just plain strings), but I got it working. I was worried for a minute I would have to manually parse 'sub{}' out of any incoming strings - blech.

Well, I guess I consider that a successful test of stage one for my future revision of Penguin (which I am tentatively calling Oyster ). Stage two has hit a snag, as I was unsuccessful in my attempt to install Crypt::OpenPGP. Might be a Solaris issue. I'll have to wait on word from Ben.

In other news, I read that some were actually considering changing the format specifier from '%' to something else to avoid confusion with hashes in Perl 6. For the love of God, don't do it!!! It's that sort of annoying poo that can drive people away from a language, or at least irritate them to no end.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.