Skip Menu |
 

This queue is for tickets about the Sub-Current CPAN distribution.

Report information
The Basics
Id: 53567
Status: new
Priority: 0/
Queue: Sub-Current

People
Owner: Nobody in particular
Requestors: l.mai [...] web.de
Cc:
AdminCc:

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



Subject: Sub::Current has no explicit return value
Date: Sun, 10 Jan 2010 19:45:43 +0100
To: bug-Sub-Current [...] rt.cpan.org
From: Lukas Mai <l.mai [...] web.de>
Download (untitled) / with headers
text/plain 499b
Hi, Sub::Current doesn't contain the usual "1" line at the end of modules to tell require that everything's ok. Instead it (implicitly) returns whatever was returned by XSLoader::load, which I think is not even documented. So the fact that Sub::Current loads at all seems to be a bit of an accident. While I'm here, I don't like the interface: What kind of name is 'ROUTINE' anyway? 'RECURSE' would have been better, but why not 'callee' or 'this'? Anyway, please consider this a "wishlist" bug.


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.