The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Common::Log::Parser - Parse the common log format lines used by Apache

VERSION

version v0.1.0

SYNOPSIS

  use Common::Log::Parser qw( split_log_line );

  my $columns = split_log_line($line);

DESCRIPTION

This module provides a simple function to parse common log format lines, such as those used by Apache.

EXPORTS

None by default.

split_log_line

  my $columns = split_log_line($line);

This function simply parses the log file and returns an array reference of the different columns.

It does not attempt to parse or unescape the contents. Surrounding brackets or quotes are not removed.

SEE ALSO

SOURCE

The development version is on github at https://github.com/robrwo/perl5-Common-Log-Parser and may be cloned from git://github.com/robrwo/perl5-Common-Log-Parser.git

BUGS

Please report any bugs or feature requests on the bugtracker website https://github.com/robrwo/perl5-Common-Log-Parser/issues

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHOR

Robert Rothenberg <rrwo@cpan.org>

The initial development of this module was partially supported by Science Photo Library https://www.sciencephoto.com.

COPYRIGHT AND LICENSE

This software is Copyright (c) 2024 by Robert Rothenberg.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)