The tough use print, but the smart use something like this bit of Perl:
my debug = 1 ; sub err { my $msg = shift ; print "err: $msg\n" if $debug; }
George suggests an improvement in the comments.
你是互联网,我是防火墙
The tough use print, but the smart use something like this bit of Perl:
my debug = 1 ; sub err { my $msg = shift ; print "err: $msg\n" if $debug; }
George suggests an improvement in the comments.
1 Comments:
Good catch. Noted in the post.
Post a Comment
« Home
Post a Comment