Subject: | [feature request] Use numbers to indicate debug level |
Date: | Wed, 29 Jul 2009 18:11:52 +0200 |
To: | bug-Smart-Comments [...] rt.cpan.org |
From: | Daniel Dehennin <daniel.dehennin [...] baby-gnu.org> |
Hello,
I saw an interesting syntax in OpenXPKI.pm[1]:
--8<---------------cut here---------------start------------->8---
##! 1: "Critical message"
##! 9: "info message"
--8<---------------cut here---------------end--------------->8---
This is handled in OpenXPKI::Debug[2].
I think it could be an idea for Smart::Comments to use such levels, this
looks nicer to me than 3 or 4 '#'.
Regards.
Footnotes:
[1] http://www7.openxpki.org/svn/openxpki/trunk/perl-modules/core/trunk/OpenXPKI.pm?op=file&rev=0&sc=0
[2] http://www7.openxpki.org/svn/openxpki/trunk/perl-modules/core/trunk/OpenXPKI/Debug.pm?op=file&rev=0&sc=0
--
Daniel Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x6A2540D1
Message body not shown because it is not plain text.