Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Program structure: subs vs modules vs Selfloader

by ihb (Deacon)
on Jun 20, 2004 at 18:03 UTC ( #368310=note: print w/replies, xml ) Need Help??


in reply to Program structure: subs vs modules vs Selfloader

If you can determine at compile-time whether you want to use the sub or not you can use the if.pm module. Most likely you can't do that in this case, looking at your comments at the top of the script, but perhaps another time.

ihb

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2020-11-25 19:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?