Revert "Bug Fixing : Sub Output was mistakenly removed."

This reverts commit cf355ab195.
This commit is contained in:
Henri-Damien LAURENT 2009-01-28 14:54:56 +01:00
parent cf355ab195
commit 34de5d0a4b
1 changed files with 0 additions and 5 deletions

View File

@ -144,11 +144,6 @@ sub init ($;$$) {
return $self;
}
sub output ($;$) {
my $self = shift;
my $newformat = (@_) ? _recognize_format(shift) : _prefformat();
return (eval {POSIX::strftime($posix_map{$newformat}, @{$self->{'dmy_arrayref'}})} || undef);
}
sub today ($;$) { # NOTE: sets date value to today (and returns it in the requested or current format)
my $class = shift;
$class = ref($class) || $class;