if ($DEBUG) { print STDERR "Debug: some value"; } [download] is pretty clear, but if we re-write that one line, it becomes more of a conversation with the maintainer: print STDERR "Debug: some value" if $DEBUG;