NAME
PickLE::Property
- Representation of a header property in a pick list
ATTRIBUTES
- name
-
Name of the property.
- value
-
Value of the property.
METHODS
- $prop =
PickLE::Property
->new
([name, value]) -
Initializes a pick list property object with a name and value.
- $prop =
PickLE::Property
->from_line
($line) - $prop = $prop->
from_line
($line) -
This method can be called statically, in which it will initialize a brand new property object or in object context in which it'll override just the attributes of the object and leave the instance intact.
In both variants it'll parse a property $line from a document and populate the object. Will return
undef
if we couldn't parse a property from the given line. - $str = $prop->
as_string
() -
Gets the string representation of this object. Will return an empty string if the object is poorly populated.
AUTHOR
Nathan Campos <nathan@innoveworkshop.com>
COPYRIGHT
Copyright (c) 2022- Nathan Campos.