Subject: | Empty "constructor" warning message: Use of uninitialized value in null operation |
Date: | Tue, 13 Nov 2007 16:03:53 -0700 |
To: | bug-Algorithm-SVM [...] rt.cpan.org |
From: | Sebastian Dela Chica <Sebastian.Delachica [...] Colorado.EDU> |
This problem may have been reported before but for some reason the
problem remained open/unattended(?). I am providing additional
information that I am hoping may help.
Code: simple.pl
use Algorithm::SVM;
my $svm = new Algorithm::SVM; # empty "constructor"
Problem
If you run this code using the warnings flag: perl -w simple.pl
You will get the following message:
Use of uninitialized value in null operation.
Platforms
I have reproduced the problem using Perl 5.8.7 on cygwin and perl 5.8.5
on CentOS using version 0.11 of the Algorithm::SVM perl package.
Not sure this is critical, but perhaps worth a look to make sure it can
be accounted for and not some horrid lurking problem. I do not see
anything suspect in the perl code in SVM.pm, perhaps something to do
with the bindings to the libsvm library? I am not familiar with how that
process works so apologies for not being very helpful there.
Thanks for your time and for the kick-ass package!
Seb
--
Sebastian de la Chica, Research Assistant
Institute of Cognitive Science
Department of Computer Science
University of Colorado at Boulder
http://ucsu.colorado.edu/~delachic