in reply to Modules Vs. Manual Coding

Generally what makes a small task is the use of a pre-written module to do it. Consider LWP::Simple and get as a fine example.

If you're interested in figuring out how to do a certain task for which a module already exists, I still recommend the module, because with the module you can always look at the code and see how it's done. :)

But I agree that in some cases the robustness of a module to do the job of parsing out one little tidbit of text might not be necessary, in cases where you can guarantee the input and a one-line index or regex would do the job. In that case, go for it. But if your input ever strays in the future, and you find yourself trying for hours to nail down the bug in your script, you may wish you had used the module in the first place when you finally do discover the problem.