See. perlsub and perlref for more info.my $last_in_sentence = sub { $content_array[$location] =~ m/\. $/s }; if(&$last_in_sentence) { ... }
_________
broquaint
In reply to Re: expressions as constants
by broquaint
in thread expressions as constants
by rtlm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |