Acme::Current::Forever - Acme::Current workalike that doesn't require you to update every bloody day


Acme-Current-Forever documentation Contained in the Acme-Current-Forever distribution.

Index


Code Index:

NAME

Top

Acme::Current::Forever - Acme::Current workalike that doesn't require you to update every bloody day

SYNOPSIS

Top

  use Acme::Current;
  printf "It's now %04d/%02d/%02d.\n",
    $Acme::Current::YEAR,
    $Acme::Current::MONTH,
    $Acme::Current::DAY;
  if ($Acme::Current::MONTH == 12 and $Acme::Current::DAY == 25) {
    print "Merry Christmas!\n";
  }

DESCRIPTION

Top

This module replaces Randal L Schwartz' Acme::Current with a module with an identical API that never needs updating.

Acme::Current gives you all the power of those myriad of date/time modules without all that complexity, as long as all you want is the current date (GMT-based), and you keep the module up to date.

EXPORT

Top

Nothing. You need to use $Acme::Current::YEAR to get the year, and so on.

BUGS

Top

None known.

SEE ALSO

Top

Date::Manip, and a hundred other date and time modules.

See http://training.perl.org for all your Perl training needs.

AUTHOR

Top

Jesse Vincent <jesse@cpan.org> based on an inane acme module by

Randal L. Schwartz, <merlyn@stonehenge.com>, http://www.stonehenge.com/merlyn/.

Based on an idea from a conversation with Joshua Hoblitt.

COPYRIGHT AND LICENSE

Top


Acme-Current-Forever documentation Contained in the Acme-Current-Forever distribution.

package Acme::Current::Forever;
use strict;

use vars qw/$VERSION/;
$VERSION = '1.00';
use Acme::Current;

1;

__END__