Help for this page

Select Code to Download


  1. or download this
    package Some::Thing;
    
    ...
    if( ::DEBUG ) {
        ## do debug stuff
    }
    
  2. or download this
    use constant DEBUG => 1; ## set to 0 to disable debug and have debug g
    +uarded code optimised away
    use Some::Thing;
    
    ...