Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: To initialise or not to initialise?

by McMahon (Chaplain)
on Jun 25, 2004 at 00:51 UTC ( #369525=note: print w/replies, xml ) Need Help??

in reply to To initialise or not to initialise?

I cut my teeth on COBOL and C, both of which have big issues with initialization.

I'm still pretty much a Perl newbie, but since scoping is so easy and "use warnings" works so well, I haven't been motivated to do much initialization in Perl.

On the other hand, I'm not managing 911 databases with Perl the way I did with COBOL and C.

So if you need suspenders *and* a belt, initialize. Otherwise, Perl handles variable values in a pretty sane manner.
  • Comment on Re: To initialise or not to initialise?

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://369525]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2021-10-24 15:22 GMT
Find Nodes?
    Voting Booth?
    My first memorable Perl project was:

    Results (89 votes). Check out past polls.