Text-Markup
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/Text/Markup.pm view on Meta::CPAN
}
sub formats {
sort keys %REGEX_FOR;
}
sub format_matchers { %REGEX_FOR }
sub new {
my $class = shift;
bless { default_encoding => 'UTF-8', @_ } => $class;
}
sub parse {
my $self = shift;
my %p = @_;
my $file = $p{file} or croak "No file parameter passed to parse()";
croak "$file does not exist" unless -e $file && !-d _;
my $parser = $self->_get_parser(\%p);
return $parser->(
view all matches for this distributionview release on metacpan - search on metacpan
( run in 2.107 seconds using v1.00-cache-2.02-grep-82fe00e-cpan-d29e8ade9f55 )