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