HTML::O...Variable(3)

πŸ“¦ version 0.6.0, in alpine 3.24

πŸŽ€ NAME πŸŽ€

HTML::Object::XPath::Variable β€” HTML Object XPath Variable. This is a User Contributed Perl Documentation page, manual label HTML::O...Variable(3), and yes the truncated label is main character energy. 🫢

✨ SYNOPSIS ✨

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

🌸 VERSION 🌸

v0.2.0 β€” cute, current, periodt.

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so this whole thing represents a HTML::Object::XPath variable. That's the vibe check, and it passes. No cap.

πŸ› οΈ CONSTRUCTOR πŸ› οΈ

new

You hand it a HTML::Object::XPath object plus a variable name, and it gives you back a new l<HTML::Object::XPath::Variable> object. That's the whole constructor, slay. πŸ’…

πŸ’… METHODS πŸ’…

as_string

Returns a string representation of the variable. Simple, stringy, slays.

as_xml

Returns a xml representation of the variable. Lowercase xml included, because that's the page's exact spelling. ✨

get_value

Returns the value for the variable that was set when the object was instantiated. This actually calls get_var in HTML::Object::XPath. Important link, bestie.

set_value

Set the value for the variable that was set when the object was instantiated. This actually calls set_var in HTML::Object::XPath. Yes, set_var β€” not a drill.

evaluate

Returns the variable value by returning get_value. That's it. It's giving delegate and leave energy, and honestly same.

πŸ‘‘ AUTHOR πŸ‘‘

Jacques Deguest <jack@deguest.jp> β€” iconic author moment.

πŸ”₯ 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(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.

Signed, sealed, and slayed by perl v5.42.2 on 2026-02-15, footer label HTML::O...Variable(3) β€” bye bestie, hydrate and read your manpages. πŸ’–βœ¨

πŸ“¦ where this page comes from