1Date::Simple::Fmt(3) User Contributed Perl Documentation Date::Simple::Fmt(3)
2
3
4
6 Date::Simple::Fmt - Sub class of Date::Simple with per object level
7 formatting for overloaded stringification.
8
10 use Date::Simple::Fmt;
11
13 This module changes the default stringification behaviour of
14 Date::Simple objects to use the format() method instead. It also
15 changes the behaviour of the constructor.
16
17 Date::Simple::Fmt->new (FMT, [ARG, ...])
18 date_fmt (FMT, [ARG, ...])
19 Follows the same rules as for the equivelent method (new) and
20 subroutine (date) in Date::Simple except that the first argument is
21 expected to be the default format for the newly created object. It
22 is this format that will be used when using overloaded
23 stringification or when not providing a format argument to the
24 format() method.
25
27 Date::Simple for full documentation.
28
30 Hey! The above document had some coding errors, which are explained
31 below:
32
33 Around line 39:
34 '=item' outside of any '=over'
35
36 Around line 48:
37 You forgot a '=back' before '=head1'
38
39
40
41perl v5.32.1 2021-01-27 Date::Simple::Fmt(3)