NAME
HTML::StickyQuery - add sticky query string to a tag href attributes.
SYNOPSIS
use HTML::StickyQuery;
my $s = HTML::StickyQuery->new;
print $s->sticky(
file => 'foo.html',
param => {
SESSIONID => 'xxx'
}
);
DESCRIPTION
this module is sub class of HTML::Parser and uses it to parse HTML document and add query string to href attribute.
ie. assign Session ID without using cookie.
CONSTRUCTOR
- new(%option)
-
constructor of HTML::StickyQuery object.
the options are below.
- abs
-
add query string to absolute URI or not. (default: 0)
- override
-
override original query string or not (default: 0)
- suffix
-
list of suffix. if original url cantain these , will be affected. (default: [qw(cgi pl)])
METHODS
- sticky(%options)
-
parse HTML and add query stirng. return HTML document.
the options are below.
- file
-
specify the HTML file.
- scalarref
-
specify the HTML document's scalarref.
- param
-
query string data. as hashref.
AUTHOR
IKEBE Tomohiro <ikebe@edge.co.jp>
SEE ALSO
COPYRIGHT
Copyright(C) 2001 IKEBE Tomohiro All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.