Mobile::WURFL::Base - Mobile::WURFL base class
use base 'Mobile::WURFL::Base';
Provides common class methods to other classes.
new
Basic constructor, blesses an hash and calls init. Accepts a hash reference.
init
Initialize the current instance setting up some defaults using the following methods.
default_wurfl_xml
returns the default filename for the WURFL XML file.
wurfl_xml
holds the current filename of the WURFL XML file.
default_wurfl_bdb
return the default directory where all WURFL BerkeleyDB data reside.
wurfl_bdb
holds the directory where reside all WURFL BerkeleyDB data.
default_wurfl_uri
return the default URL from where a WURFL XML file can downloaded.
wurfl_uri
holds the current URL from where a WURFL XML file can downloaded.
Mobile::WURFL
Valerio VALDEZ Paolini, <valdez@cpan.org>
Copyright (C) 2005 by Valerio VALDEZ Paolini
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.4 or, at your option, any later version of Perl 5 you may have available.
To install Mobile::WURFL, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mobile::WURFL
CPAN shell
perl -MCPAN -e shell install Mobile::WURFL
For more information on module installation, please visit the detailed CPAN module installation guide.