Perl Module - Add function to count cases in a reader.
[pspp] / perl-module / lib / PSPP.pm.in
index a99c77db275aed0c4345893be575669e5c9c0573..7d077992bd4ad2eef11caee90e663353021e4223 100644 (file)
@@ -483,6 +483,13 @@ Open is used to read data from an existing system file.
 It creates and returns a PSPP::Reader object which can be used to read 
 data and dictionary information from C<filename>.
 
+=head3 get_case_cnt ()
+
+Returns the number of cases in a open system file.  Some files
+do not store the number of cases.  In these instances undef
+will be returned.  Therefore, then programmer must check that the
+returned value is not undef before using it.
+
 =cut
 
 sub get_dict