Hello all,
I create new column 'Story' and i need to limit the output to 20 character, i try to create new global tag as below but still no luck :
Story_Limit =>
sub {
my $tags = shift;
my $Story = $tags->{Story};
$Story =~ s/^(.{20}).*$/$1.../;
return $Story;
}
Please help.
I create new column 'Story' and i need to limit the output to 20 character, i try to create new global tag as below but still no luck :
Story_Limit =>
sub {
my $tags = shift;
my $Story = $tags->{Story};
$Story =~ s/^(.{20}).*$/$1.../;
return $Story;
}
Please help.