Revision 683 (by ahitrov, 2018/05/29 09:29:11) |
---|
<%args> $object => undef $name => undef $SETS => undef </%args> <%init> return undef unless ref $SETS; return undef unless $name; for ( $SETS->{$name} ) { s/^\s+//; s/\s+$//; } return undef if $SETS->{$name} eq ''; return undef if $SETS->{$name} =~ /\D/; return $SETS->{$name}; </%init>