in reply to Re^3: RFC: How to succeed with your Perl homework
in thread RFC: How to succeed with your Perl homework
Second, there isn't much difference in effort to write the three line boiler plate:
instead of two lines:#!/usr/bin/perl use strict; use warnings;
The savings of not typing a single line of code doesn't out weight the issues Tux mentions.#!/usr/bin/perl use Modern::Perl; # Or whatever todays fad boilerplate is
Now one may argue "but my 'use Shiny::Boilerplate;' includes a whole shit load of additional modules", but that only makes your boilerplate less generic. Because for each additional module/pragma in your boilerplate, a significant (probably > 50%) part of my programs/modules doesn't need it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: RFC: How to succeed with your Perl homework
by chromatic (Archbishop) on Nov 04, 2010 at 16:47 UTC | |
by JavaFan (Canon) on Nov 04, 2010 at 17:12 UTC | |
by chromatic (Archbishop) on Nov 04, 2010 at 17:23 UTC | |
by Tux (Canon) on Nov 05, 2010 at 09:21 UTC | |
by JavaFan (Canon) on Nov 04, 2010 at 18:11 UTC |