Skip Menu |
 

This queue is for tickets about the Set-IntSpan-Partition CPAN distribution.

Report information
The Basics
Id: 123879
Status: new
Priority: 0/
Queue: Set-IntSpan-Partition

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

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



Subject: eval { use ... } does not do what you want
Download (untitled) / with headers
text/plain 535b
As per subject. I found the broek idiom with http://search.cpan.org/grep?release=Set-IntSpan-Partition-0.03;string=Test::Pod|Test::Pod::Coverage;n=1;C=0 The reason why this idiom makes no sense is the three way parse nature of perl that executes use statements as they come before paying attention to the eval {}. That way a missing library leads to a fail before the statement finishes its compilation. Sample fail reports: http://www.cpantesters.org/cpan/report/90036575 http://www.cpantesters.org/cpan/report/90036653 Gruesse!


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.