Hello together,
Im looking for a method to tell my program that it has to put out debug 
statements. With getopts("d") I allready managed that my main-routine does 
this. But the subroutines I realized as packages in their own files. So when 
I call my subroutines via package::methode() they don't care if I switched 
the debug-mode on or not. Is there a simple way to export the getopt 
arguments to tell also the subroutines to dump out debugging-statements?

Gruss Christian

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to