Skip Menu |

This queue is for tickets about the Smart-Comments CPAN distribution.

Report information
The Basics
Id: 114101
Status: rejected
Priority: 0/
Queue: Smart-Comments

People
Owner: Nobody in particular
Requestors: KES [...] cpan.org
Cc:
AdminCc:

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



Subject: Can not 'use Smart::Comments';
When I try to use your module with [this](https://github.com/KES777/Devel-DebugHooks) one I get next error: perl -d:DebugHooks::Terminal -e 'use Smart::Comments' Unquoted string "croak" may clash with future reserved word at (eval 5)[/home/kes/work/projects/perl_libs/lib/Devel/DebugHooks.pm:1292] line 2. String found where operator expected at (eval 5)[/home/kes/work/projects/perl_libs/lib/Devel/DebugHooks.pm:1292] line 2, near "croak 'usage: $io->getline()'" (Do you need to predeclare croak?) Unquoted string "croak" may clash with future reserved word at (eval 5)[/home/kes/work/projects/perl_libs/lib/Devel/DebugHooks.pm:1292] line 8. String found where operator expected at (eval 5)[/home/kes/work/projects/perl_libs/lib/Devel/DebugHooks.pm:1292] line 8, near "croak 'usage: $io->getlines()'" (Do you need to predeclare croak?) Unquoted string "croak" may clash with future reserved word at (eval 5)[/home/kes/work/projects/perl_libs/lib/Devel/DebugHooks.pm:1292] line 10. String found where operator expected at (eval 5)[/home/kes/work/projects/perl_libs/lib/Devel/DebugHooks.pm:1292] line 10, near "croak 'Can\'t call $io->getlines in a scalar context, use $io->getline'" (Do you need to predeclare croak?) syntax error at (eval 5)[/home/kes/work/projects/perl_libs/lib/Devel/DebugHooks.pm:1292] line 2, near "croak 'usage: $io->getline()'" syntax error at (eval 5)[/home/kes/work/projects/perl_libs/lib/Devel/DebugHooks.pm:1292] line 8, near "croak 'usage: $io->getlines()'" syntax error at (eval 5)[/home/kes/work/projects/perl_libs/lib/Devel/DebugHooks.pm:1292] line 10, near "croak 'Can\'t call $io->getlines in a scalar context, use $io->getline'" Compilation failed in require at /home/kes/perl/lib/5.22.0/SelfLoader.pm line 4. BEGIN failed--compilation aborted at /home/kes/perl/lib/5.22.0/SelfLoader.pm line 4. Compilation failed in require at /home/kes/perl/lib/5.22.0/Text/Balanced.pm line 9. BEGIN failed--compilation aborted at /home/kes/perl/lib/5.22.0/Text/Balanced.pm line 9. Compilation failed in require at /home/kes/perl/lib/5.22.0/Filter/Simple.pm line 3. BEGIN failed--compilation aborted at /home/kes/perl/lib/5.22.0/Filter/Simple.pm line 3. Compilation failed in require at /home/kes/perl5/lib/perl5/Smart/Comments.pm line 10. BEGIN failed--compilation aborted at /home/kes/perl5/lib/perl5/Smart/Comments.pm line 10. Compilation failed in require at -e line 1. BEGIN failed--compilation aborted at -e line 1.
that is the bug of that module