 |
Using CPAN
First page Back Continue Last page Overview Graphics
Using CPAN
- Here's how to use CPAN.pm to install the Date::Tolkien::Shire module:
perl -MCPAN -e 'install Date::Tolkien::Shire'
- Prompts for configuration the first time you use CPAN.
- Use the module you just installed:
perl -MDate::Tolkien::Shire -e 'print Date::Tolkien::Shire->new(time)->as_string'
- Output (assuming today is October 18, 2003):
Hevensday 26 Winterfilth 7467
|
 |
 |