The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

HTML::Object::XPath::Variable - HTML Object XPath Variable

SYNOPSIS

    use HTML::Object::XPath::Variable;
    my $var = HTML::Object::XPath::Variable->new || 
        die( HTML::Object::XPath::Variable->error, "\n" );

VERSION

    v0.2.0

DESCRIPTION

This represent a HTML::Object::XPath variable

CONSTRUCTOR

new

Provided with a HTML::Object::XPath object and a variable name and this return a new l<HTML::Object::XPath::Variable> object.

METHODS

as_string

Returns a string representation of the variable.

as_xml

Returns a xml representation of the variable.

get_value

Returns the value for the variable set upon object instantiation. This actually calls "get_var" in HTML::Object::XPath

set_value

Set the value for the variable set upon object instantiation. This actually calls "set_var" in HTML::Object::XPath

evaluate

Returns the variable value by returning "get_value"

AUTHOR

Jacques Deguest <jack@deguest.jp>

SEE ALSO

HTML::Object::XPath, HTML::Object::XPath::Boolean, HTML::Object::XPath::Expr, HTML::Object::XPath::Function, HTML::Object::XPath::Literal, HTML::Object::XPath::LocationPath, HTML::Object::XPath::NodeSet, HTML::Object::XPath::Number, HTML::Object::XPath::Root, HTML::Object::XPath::Step, HTML::Object::XPath::Variable

COPYRIGHT & LICENSE

Copyright(c) 2021 DEGUEST Pte. Ltd.

All rights reserved

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.