5 $inflect_count => undef
8 <a title="<% $definition |h %>" href="/cvterm/<% $id |u %>/view"><% $name |h %></a>\
11 use Lingua::EN::Inflect ();
13 ( my $name = $cvterm->name ) =~ s/_/ /g;
15 # before munging the name, use it as a prefix to the definition
16 my $definition = $cvterm->definition;
17 if( $definition && $definition =~ /\S/ ) {
18 $definition = "$name: $definition";
23 # now capitalize and/or inflect the cvterm name
25 $name =~ s/(\S+)/lc($1) eq $1 ? ucfirst($1) : $1/e;
30 | defined $inflect_count ? ("Lingua::EN::Inflect::".$inflect)->($1, $inflect_count)
31 : ("Lingua::EN::Inflect::".$inflect)->($1)