From 92ddb7c2327432a5b7ca27557eb5727e46a7c9bd Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sun, 1 Feb 2009 16:30:01 -0800 Subject: [PATCH] perl-module: Document PSPP::Dict::get_var() for too-large index. Approved by John Darrington. --- perl-module/lib/PSPP.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/perl-module/lib/PSPP.pm b/perl-module/lib/PSPP.pm index 4eb8c41d..93d70ef2 100644 --- a/perl-module/lib/PSPP.pm +++ b/perl-module/lib/PSPP.pm @@ -90,6 +90,8 @@ sub new =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 -- 2.30.2