Your question seems rather to be "when is a script too minimal?" If the content of the module is sensible, then I have no problem with an entire script looking like:
I see no reason why you'd want to require that a script show some minimum complexity.
The key though is that the module should not just be a dumping ground for the stuff in the script - it should follow the normal principles of module design, so that each method/function should perform a single clearly defined function that is wll described by its name, and the collection of methods should be related to each other in a way clearly encapsulated by the module name.
If the module does what it should, and if one of its methods does everything the script wants and needs, then that's an ideal situation.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
Outside of code tags, you may need to use entities for some characters:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||