Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: What's your Module Template

by robot_tourist (Hermit)
on Sep 15, 2005 at 11:15 UTC ( #492168=note: print w/replies, xml ) Need Help??


in reply to Re: What's your Module Template
in thread What's your Module Template

I believe in the third way, although I'm definitely not a New Labour or Tony Blair supporter (except when he annoys the unions and I thought the minute or so I saw of his speech to the UN the other day was rather good).

I think it's always good to have a little boilerplate, like comments and use strict, maybe constructor templates, etc, because it helps with best practice. But it's bad (I know from experience) to just get an old project (usually in Delphi where I work, although sometimes in Perl too) and just save it under a different name and start writing the stuff that's specific for the new project.

How can you feel when you're made of steel? I am made of steel. I am the Robot Tourist.
Robot Tourist, by Ten Benson

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://492168]
help
Chatterbox?
[Corion]: Yeah, you need bool to get a true value, and the rest to return the other value ;)
[choroba]: perl -wE '{package o; use Tie::Scalar; use parent -norequire => "Tie::StdScalar" ;sub FETCH { "x" x int rand 2}} tie my $x, "o" ; say $x for 1 .. 10'
[choroba]: for complete ness

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2017-07-27 13:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (414 votes). Check out past polls.