URL::Transform::using::HTML::Meta - regular expression parsing of the meta content attribute for url transformation
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;
Using module you can performs an url transformation on the HTML META content attribute string.
This module is used by URL::Transform.
output_function transform_function
Object constructor.
Requires:
Submit meta content string for parsing.
makes no sense in this case.
Jozef Kutej
To install URL::Transform, copy and paste the appropriate command in to your terminal.
cpanm
cpanm URL::Transform
CPAN shell
perl -MCPAN -e shell install URL::Transform
For more information on module installation, please visit the detailed CPAN module installation guide.