Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Re: Re: Re: Re: Confused about splitting program into multiple files.

by chromatic (Archbishop)
on Feb 15, 2004 at 06:59 UTC ( [id://329105]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Re: Confused about splitting program into multiple files.
in thread Confused about splitting program into multiple files.

Aren't we all looking to make our programming lives a bit easier?

In my experience, it is easier in the long run not to export everything into main::. Objects aren't perfect, but they tend to organize things.

For small programs, it likely doesn't matter. Once I get over twenty or thirty functions, though, it really starts to matter very quickly.

  • Comment on Re: Re: Re: Re: Re: Confused about splitting program into multiple files.
  • Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2025-03-24 18:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When you first encountered Perl, which feature amazed you the most?










    Results (65 votes). Check out past polls.

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.