X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=perl-module%2Flib%2FPSPP.pm;h=3cb9f3be48a5f33ecf21591977e1deacb27e09e4;hb=d12513bc5a48e3b80476a8d23a6936665f17fa3d;hp=4eb8c41dd6f7fe36a3b8ec1ce9fe3ff522d9003d;hpb=e2862b56eb679a975a662d621896cdcc81b442a3;p=pspp diff --git a/perl-module/lib/PSPP.pm b/perl-module/lib/PSPP.pm index 4eb8c41dd6..3cb9f3be48 100644 --- a/perl-module/lib/PSPP.pm +++ b/perl-module/lib/PSPP.pm @@ -21,7 +21,7 @@ None by default. =cut BEGIN { - $PSPP::VERSION='0.7.1'; + $PSPP::VERSION='0.7.2'; require XSLoader; XSLoader::load('PSPP', $PSPP::VERSION); } @@ -87,9 +87,15 @@ sub new =pod +=head3 get_var_cnt () + +Returns the number of variables in the dictionary. + =head3 get_var ($idx) Returns the Cth variable from the dictionary. +Returns undef if C is greater than or equal to the number +of variables in the dictionary. =cut @@ -491,7 +497,8 @@ This method returns an array of scalars, each of which are the values of the data in the system file. The first call to C after C has been called retrieves the first case in the system file. Each subsequent call retrieves the next -case. If there are no more cases to be read, the function returns undef. +case. If there are no more cases to be read, the function returns an empty +list. If the case contains system missing values, these values are set to the empty string.