Data::Hopen::G::Entity - The base class for all hopen nodes and edges
hopen creates and manages a graph of entities: nodes and edges. This class holds common information.
The name of this entity. The name is for human consumption and is not used by hopen to make any decisions. However, node names starting with an underscore are reserved for hopen's internal use.
The name '0' (a single digit zero) is forbidden (since it's falsy).
'0'
A custom accessor for name. If no name has been stored, return the stringifed version of the entity. That way every entity always has a name.
Returns truthy if a name has been set using "name".
Stringifies to the name plus, if the name is custom, the refaddr.
To install Data::Hopen, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Hopen
CPAN shell
perl -MCPAN -e shell install Data::Hopen
For more information on module installation, please visit the detailed CPAN module installation guide.