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

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.
  • I first talked about the idea of modulinos on Perlmonks: How a script becomes a module [perlmonks.org]. It's a much longer version of what appears in TPJ, although the TPJ version is much more polished and developed.

    As for the drawback about naming the script, I thought I had talked about that in the article (although I haven't read what they published. I can't read my own stuff once someone else publishes it). The trick is to create the module and install it in the usual place, then create a symlink (or link) to it for the script. That way it works both ways. diagnostics.pm does this, for instance.