WWW::Newzbin::Constants - Exportable constants for use with WWW::Newzbin
use WWW::Newzbin::Constants qw(:all); # exports everything use WWW::Newzbin::Constants qw(:categories); # just exports categories use WWW::Newzbin::Constants qw(:sort); # just exports sorting-related constants
This module contains exportable constants that can be used in conjunction with its parent module, WWW::Newzbin. The constants exported by this module are otherwise not very useful.
Nothing is exported by default (this means that adding use WWW::Newzbin::Constants; or use WWW::Newzbin::Constants (); to your code will export no constants). One or more of the following export groups must be explicitly stated.
use WWW::Newzbin::Constants;
use WWW::Newzbin::Constants ();
use WWW::Newzbin::Constants qw(:all);
Exports constants from all export groups.
use WWW::Newzbin::Constants qw(:categories);
Exports constants relating to Newzbin categories:
NEWZBIN_CAT_UNKNOWN - "Unknown" category
NEWZBIN_CAT_UNKNOWN
NEWZBIN_CAT_ANIME - "Anime" category
NEWZBIN_CAT_ANIME
NEWZBIN_CAT_APPS - "Apps" category
NEWZBIN_CAT_APPS
NEWZBIN_CAT_BOOKS - "Books" category
NEWZBIN_CAT_BOOKS
NEWZBIN_CAT_CONSOLES - "Consoles" category
NEWZBIN_CAT_CONSOLES
NEWZBIN_CAT_EMULATION - "Emulation" category
NEWZBIN_CAT_EMULATION
NEWZBIN_CAT_GAMES - "Games" category
NEWZBIN_CAT_GAMES
NEWZBIN_CAT_MISC - "Misc" category
NEWZBIN_CAT_MISC
NEWZBIN_CAT_MOVIES - "Movies" category
NEWZBIN_CAT_MOVIES
NEWZBIN_CAT_MUSIC - "Music" category
NEWZBIN_CAT_MUSIC
NEWZBIN_CAT_PDA - "PDA" category
NEWZBIN_CAT_PDA
NEWZBIN_CAT_RESOURCES - "Resources" category
NEWZBIN_CAT_RESOURCES
NEWZBIN_CAT_TV - "TV" category
NEWZBIN_CAT_TV
Exports constants related to searching Newzbin (particularly via WWW::Newzbin's search_files method):
NEWZBIN_SORTFIELD_DATE - Sort search results by date posted
NEWZBIN_SORTFIELD_DATE
NEWZBIN_SORTFIELD_SUBJECT - Sort search results alphabetically by subject
NEWZBIN_SORTFIELD_SUBJECT
NEWZBIN_SORTFIELD_FILESIZE - Sort search results by file size
NEWZBIN_SORTFIELD_FILESIZE
NEWZBIN_SORTORDER_ASC - Sort search results in ascending order
NEWZBIN_SORTORDER_ASC
NEWZBIN_SORTORDER_DESC - Sort search results in descending order
NEWZBIN_SORTORDER_DESC
Exporter
WWW::Newzbin
http://v3.newzbin.com - Newzbin v3 home page
Chris Novakovic <chrisn@cpan.org>
Copyright 2007-8 Chris Novakovic.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install WWW::Newzbin, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Newzbin
CPAN shell
perl -MCPAN -e shell install WWW::Newzbin
For more information on module installation, please visit the detailed CPAN module installation guide.