App-WRT
view release on metacpan or search on metacpan
lib/App/WRT/Markup.pm view on Meta::CPAN
=item dashes($replacement, $block)
Inline replace double dashes in a block - " -- " - with a given replacement.
=cut
sub dashes {
$_[1] =~ s/(\s+) # whitespace - no capture
\-{2} # two dashes
(\n|\s+|$) # newline, whitespace, or eol
/$1$_[0]$2/xgs;
}
=item include_process
Inline replace <include>filename</include> tags, replacing them with the
contents of files.
=cut
( run in 1.095 second using v1.01-cache-2.11-cpan-8f98c5d2c55 )