in reply to Re: How a script becomes a module
in thread How a script becomes a module
If I always wanted to write modules, I'd use Java. Perl is useful because I don't have to write a bunch of code to get something done.
If you don't write a lot of scripts, this might not seem like a big deal to you. I'm not going to spend the extra time on the majority of my one-offs and quick and dirty scripts because I'm not going to use them again. I'm more interested in getting work done then spending quality time with my keyboard.
As for planning one from the start, may we all live in such a perfect world. Unfortunately, not everyone does, and pretending so ignores a great many people who could use a map to better code.
brian d foy <email@example.com>