NewsExtractor::Article - A data class for containing news article.
This is a data class that contains an news article extracted from some web sites. The instances of this data class has these attributes:
Mandatory. Str. Refer to the headline of a news article.
Mandatory. Str. Refer to the body of a news article.
Optional. One must check the presense of this attribute with has_dateline method before taking the value of it.
has_dateline
Optional. One must check the presense of this attribute with has_journalist method before taking the value of it.
has_journalist
To install NewsExtractor, copy and paste the appropriate command in to your terminal.
cpanm
cpanm NewsExtractor
CPAN shell
perl -MCPAN -e shell install NewsExtractor
For more information on module installation, please visit the detailed CPAN module installation guide.