NAME

WWW::Scripter::History - History object for WWW::Scripter

VERSION

Version 0.006

This module is still far from complete. It is mainly a placeholder.

METHODS

length

Returns the number of items in the browser's history.

This is 1 when you haven't gone anywhere yet.

index

Returns the current position in the history list.

go ( $distance )

Moves forward (positive $distance) or back (negative) in history, or reloads the page if $distance is 0. If the $distance would cause navigation beyond either beginning or end of the history list, nothing happens.

back

Same as $history->go(-1).

forward

Same as $history->go(1).

pushState( $some_scalar, $title, $url )

This adds a 'dummy' entry to browser history, which is identical to the current page (actually, it is the current page), except that it has the state information contained in $some_scalar associated with it. The $url, if specified, becomes the URL of the current page (so a script can lie about what the URL is). The $title is ignored.

AUTHOR & COPYRIGHT

See WWW::Scripter

SEE ALSO

-

WWW::Scripter