my $Valid; use Form::Validator( Factory=>\$Valid, AllowedTags=>[...], OtherConfig=>..., ..., ); # ... my $obj= $Valid->new( ... );