Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re (tilly) 3: dbg - put any script in debug mode

by tilly (Archbishop)
on Sep 27, 2001 at 23:34 UTC ( [id://115220]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: dbg - put any script in debug mode
in thread dbg - put any script in debug mode

Based on painful experience I submit that a complex system of scripts that call other scripts is itself a serious problem. Instead I suggest moving functionality into modules, and making individual scripts wrappers around the appropriate module. Then your wrapper script can be built quite directly by loading a bunch of modules and making the right calls.

This makes consistent error handling tremendously easier, and with a single confess you can figure out exactly who called what where whenever you want.

  • Comment on Re (tilly) 3: dbg - put any script in debug mode

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-04-25 22:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found