NAME

DateTime::Format::Lite::PP - Pure-Perl fallback for the DateTime::Format::Lite XS layer

DESCRIPTION

This module is loaded automatically by DateTime::Format::Lite when the XS shared object cannot be loaded. For instance when the distribution was installed without a C compiler, or when the PERL_DATETIME_LITE_PP environment variable is set to a true value.

Its sole responsibility is to set $DateTime::Format::Lite::IsPurePerl to 1. The two functions that are otherwise provided by XS, _match_and_extract and format_datetime, both have pure-Perl equivalents already present inline in DateTime::Format::Lite, guarded by the $IsPurePerl flag. No injection into the DateTime::Format::Lite namespace is required.

You should not normally load or call this module directly.

VERSION

v0.1.0

SEE ALSO

DateTime::Format::Lite

AUTHOR

Jacques Deguest <jack@deguest.jp>

COPYRIGHT & LICENSE

Copyright(c) 2026 DEGUEST Pte. Ltd.

All rights reserved

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.