Tuesday, June 22, 2004

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:

At Jun 23, 2004, 2:30:00 AM, Blogger Micah Sittig said:

Good catch. Noted in the post.

 

Post a Comment

Post a Comment

« Home