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.
Method naming (Score:1)
->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
Re:Method naming (Score:1)
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,.
Re:Method naming (Score:1)
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.
Reply to This
Parent