NAME
WWW::Newzbin::Constants - Exportable constants for use with WWW::Newzbin
SYNOPSIS
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
DESCRIPTION
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.
EXPORT GROUPS
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.
all
use WWW::Newzbin::Constants qw(:all);
Exports constants from all export groups.
categories
use WWW::Newzbin::Constants qw(:categories);
Exports constants relating to Newzbin categories:
NEWZBIN_CAT_UNKNOWN- "Unknown" categoryNEWZBIN_CAT_ANIME- "Anime" categoryNEWZBIN_CAT_APPS- "Apps" categoryNEWZBIN_CAT_BOOKS- "Books" categoryNEWZBIN_CAT_CONSOLES- "Consoles" categoryNEWZBIN_CAT_EMULATION- "Emulation categoryNEWZBIN_CAT_GAMES- "Games" categoryNEWZBIN_CAT_MISC- "Misc" categoryNEWZBIN_CAT_MOVIES- "Movies" categoryNEWZBIN_CAT_MUSIC- "Music" categoryNEWZBIN_CAT_PDA- "PDA" categoryNEWZBIN_CAT_RESOURCES- "Resources" categoryNEWZBIN_CAT_TV- "TV" category
sort
Exports constants related to searching Newzbin (particularly via WWW::Newzbin's search_files method):
NEWZBIN_SORTFIELD_DATE- Sort search results by date postedNEWZBIN_SORTFIELD_SUBJECT- Sort search results alphabetically by subjectNEWZBIN_SORTFIELD_FILESIZE- Sort search results by file sizeNEWZBIN_SORTORDER_ASC- Sort search results in ascending orderNEWZBIN_SORTORDER_DESC- Sort search results in descending order
DEPENDENCIES
SEE ALSO
http://v3.newzbin.com - Newzbin v3 home page
AUTHOR
Chris Novakovic <chrisn@cpan.org>
COPYRIGHT
Copyright 2007 Chris Novakovic.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.