NAME
Net::Lyskom::TextStat - text information object.
SYNOPSIS
print localtime($obj->creation_time);
print "This text has the subject: ",$obj->subject,"\n";
DESCRIPTION
Object returned by the get_text_stat method in the main Net::Lyskom class. Also fronts for get_text(), since one often wants the text mass after getting the text meta-information.
Methods
- ->creation_time()
-
Returns the creation time as a Net::Lyskom::Time object.
-
Returns the person number of the author.
- ->no_of_lines()
-
Returns the number of lines.
- ->no_of_chars()
-
Returns the number of characters.
- ->no_of_marks()
-
Returns the number of marks.
- ->misc_info()
-
Returns a compacted list of Net::Lyskom::MiscInfo object. See the documentation for the class for the meaning of "compacted".
- ->aux_items()
-
Returns a list of Net::Lyskom::AuxInfo objects.
- ->subject()
-
Returns the subject line of the text. Calls get_text(), and caches both the subject and body internally. Both this method and the following one always fetch the entire text. If you want something else, call get_text() yourself.
- ->body()
-
As above, but return the body instead of the subject.