mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
343f60a740
Smart comments provide an easy way to insert debugging and tracking code into a program. They can report the value of a variable, track the progress of a loop, and verify that particular assertions are true. Best of all, when you're finished debugging, you don't have to remove them. Simply commenting out the use Smart::Comments line turns them back into regular comments. Leaving smart comments in your code is smart because if you needed them once, you'll almost certainly need them again later. Author: Damian Conway <DCONWAY@cpan.org> WWW: http://search.cpan.org/dist/Smart-Comments/ PR: ports/81476 Submitted by: Aaron Dalton <aaron@daltons.ca>
6 lines
278 B
Plaintext
6 lines
278 B
Plaintext
%%SITE_PERL%%/Smart/Comments.pm
|
|
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Smart/Comments/.packlist
|
|
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Smart/Comments
|
|
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Smart 2>/dev/null || true
|
|
@unexec rmdir %D/%%SITE_PERL%%/Smart 2>/dev/null || true
|