The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Valiant::Filter::Upper - up case a string

SYNOPSIS

  package Local::Test::User;

  use Moo;
  use Valiant::Filters;

  has 'name' => (is=>'ro', required=>1);

  filters name => (
    upper => 1,
  );

  my $user = Local::Test::User->new(name=>'john');

  print $user->name; # 'JOHN'
  

DESCRIPTION

This is a very simple filter that takes no paramters and just does a 'uc' on the value of the attribute.

SEE ALSO

Valiant, Valiant::Filter, Valiant::Validator::Filter.

AUTHOR

See Valiant

COPYRIGHT & LICENSE

See Valiant