The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

here::debug - enable / disable here debugging

SYNOPSIS

    use here::debug;
    use here ''.reverse '1 = x$ ym';
        # warns "use here: my $x = 1 at file.pl line 2."
        # and then inserts it into the source as normal.

import

    use here::debug;

is the same as

    BEGIN {$here::DEBUG = 1}

and causes all applications of the here code injector to print the code to stderr before inserting it into the source.

unimport

    no here::debug;

is the same as

    BEGIN {$here::DEBUG = 0}

SEE ALSO

AUTHOR

Eric Strom, <asg at cpan.org>

BUGS

please report any bugs or feature requests to bug-here at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=here. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

LICENSE AND COPYRIGHT

copyright 2011 Eric Strom.

this program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

see http://dev.perl.org/licenses/ for more information.