Help for this page

Select Code to Download


  1. or download this
    sub v_print {
        my $volume = shift;
    ...
            print $message;
        }
    }
    
  2. or download this
    v_print(1,"Holy Crap = $holy_crap\n");
    
  3. or download this
    define(`v_print',`print $2 if $verbose >= $1')dnl
    
  4. or download this
    print "Holy Crap = $holy_crap\n" if $verbose >= 1;
    
  5. or download this
    v_print(1,"Foo = $foo, Bar = $bar, Baz = $baz");
    
  6. or download this
    print "Foo = $foo if $verbose >= 1;