The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

URL::Transform::using::HTML::Meta - regular expression parsing of the meta content attribute for url transformation

SYNOPSIS

my $urlt = URL::Transform::using::HTML::Meta->new(
    'output_function'    => sub { $output .= "@_" },
    'transform_function' => sub { return (join '|', @_) },
);
$urlt->parse_string("0;url = 'some other link'");

print "and this is the output: ", $output;

DESCRIPTION

Using module you can performs an url transformation on the HTML META content attribute string.

This module is used by URL::Transform.

PROPERTIES

output_function
transform_function

METHODS

new

Object constructor.

Requires:

output_function
transform_function

parse_string($string)

Submit meta content string for parsing.

parse_file($file_name)

makes no sense in this case.

AUTHOR

Jozef Kutej