Help for this page

Select Code to Download


  1. or download this
      my $v = shift;
      my $n = exists $self->{maxlength} ? $self->{maxlength} : undef;
      $self->{value} = $n ? substr($v,0,$n) : $v;