Skip Menu |

This queue is for tickets about the Device-USB-PCSensor-HidTEMPer CPAN distribution.

Report information
The Basics
Id: 59510
Status: resolved
Worked: 10 min
Priority: 0/
Queue: Device-USB-PCSensor-HidTEMPer

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

Bug Information
Severity: Normal
Broken in: 0.01
Fixed in: 0.02



Subject: self->{device} in new scalar not array
In sub new self->{devices}=() should most likey be self->{devices}=[]; The left side is a scalar and the right side is an empty list. The use of perl 5.10 syntax in the one method and the license which appears to not be backwards portable to perl 5.8. Makes this package of little value to the embedded community. Mike mrdvt92
Hi. Thanks for the bug and feedback. The license was chosen based on the use of Perl 5.10 code. Since that hinders use of the module I will remove the 5.10 dependency, fix the bug and change the required license to be Perl 5.8 or newer. Will a change of license requirement to be Perl 5.8 or newer solve the license problem? Have some more updates ready for testing and then a v0.02 release. On Sun Jul 18 10:48:15 2010, MRDVT wrote: Show quoted text
> In sub new self->{devices}=() should most likey be self->{devices}=[]; > > The left side is a scalar and the right side is an empty list. > > The use of perl 5.10 syntax in the one method and the license which > appears to not be backwards portable to perl 5.8. Makes this package > of little value to the embedded community. > > Mike > > mrdvt92
Show quoted text
> Will a change of license requirement to be Perl 5.8 or newer solve the > license problem?
The standard "Perl" license is. "This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself." You should also include the "LICENSE" file in the root of the tar ball. It sounds as though you are trying to license under a quasi-Perl/GPL License. If you let modulemaker help you, it as easy as running the script and picking a license. You are free to license under GPL or even BSD as well. That's your choice. But, I would not recommend creating a "new" open source license for this package. See: http://search.cpan.org/~jkeenan/ExtUtils-ModuleMaker- 0.51/scripts/modulemaker Thanks for the quick response, Mike mrdvt92