Skip Menu |
 

This queue is for tickets about the Test-Harness CPAN distribution.

Report information
The Basics
Id: 8789
Status: resolved
Priority: 0/
Queue: Test-Harness

People
Owner: andy [...] hexten.net
Requestors: mark [...] summersault.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: wish: a comment that only appears in verbose mode
Download (untitled) / with headers
text/plain 492b
I would like support for a comment that only appears in verbose mode, unlike 'diag', which always appears. I've been using this simple hack for months to do this (below). However, judging from the code for 'diag', a proper solution is somewhat more involved. =head2 note() note "My Comment Only for Verbose Mode" Use this function to create a comment that shows up in verbose test output, but not the bulk test runs. =cut sub note($) { my $msg = shift; print "# $msg\n"; }
Verbosity semantics have changed in 2.99. I suspect it now does approx what you want.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.