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'd note that you should probably be using Perl style method naming.

    ->create_site instead of ->createSite

    I used to have a similar disease, and it wasn't until about a year after I was releasing things regularly that I ended up wishing I'd done things the Perl way in the first place :(

    So use a "Perlish" method style. Trust me, you'll regret it if you don't later.

    Oh, and I also like Win32::IIS::Setup better than ::Server as well.
    • But I'll add I disagree with "do it as a script".

      Most scripts should ideally just be a wrapper around some module that does the real work. Thing of the script as more of a console interface to some functionality.

      It should handle launching and command line params and output, but do the work in the module.

      And the module should never assume console environment,.
      • Thanks for the encouragement of going with a module rather than a script. I was tossing the idea back and forth in my head for a while. I'll definitely go with doing it as a module now.