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

Re: Confused about splitting program into multiple files.

by disciple (Pilgrim)
on Feb 15, 2004 at 18:50 UTC ( [id://329161]=note: print w/replies, xml ) Need Help??


in reply to Confused about splitting program into multiple files.

Thanks everyone for your great responses. So the conclusion is that it is best to explicitly export functions and not put my script in the main package. Either that, or make it an Object.

Again, I appreciate all your help, especially explaining the reasons behind your recommendations. FYI, Code Complete is an excellent book and I too recommend it to every programmer I know.

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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2025-03-24 19:35 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.