Help for this page

Select Code to Download


  1. or download this
    use Attribute::Handlers;
    use vars qw($DEBUG);
    ...
    sub othersub :Debug(3) {
      # Do some other thing.
    }
    
  2. or download this
    $level = $level ne '' ? $level : $DEBUG ;
    
  3. or download this
    $level ||= $DEBUG;