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
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Naming (Score:1)
First of all, “
Devel::” is reserved for things to be loaded usingperl’s-dflag. (It should have been a more specific namespace, really, so people wouldn’t be tempted to dump random junk in there that has nothing to do with-d, maybeDB::Custom::or something.)Also, “
Devel::Recreate” gives no indication whatsoever about what it recreates. That would be a package, which suggests that the right TLNS for your module is “Package::”.Now, what does it do with a
Re: (Score:2)
Then again, it isn't the opcodes, at least from my weak grasp of the internals, is it?
Re: (Score:2)
Nope. Not trying to dump opcodes, though I may be forced to dig into them at some point. Just trying to dump what perl thinks the source code looks like.
Re: Solving the wrong problem? (Score:1)
To really do it right, I think you end up source filtering (PPI?) everything (unshift(@INC, sub {...})) into s-expressions or something. I've always wished perl were more introspective, but it seems like syntax is the enemy of introspection (and I really like syntax, so I haven't pursued lisp deeply enough to know if that's really the case.)
Reply to This
Parent