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

NAME

LWP::CurlLog - Log LWP requests as curl commands

SYNOPSIS

    use LWP::CurlLog;

DESCRIPTION

This module can be used to log LWP requests as curl commands so you can redo requests the perl script makes, manually, on the command line. Just include a statement "use LWP::CurlLog;" to the top of your perl script and then check the log file for curl commands. The default log file location is in ~/curl.log, but you can change it by setting the $log_file package variable in a begin block before including the library.

METACPAN

https://metacpan.org/pod/LWP::CurlLog

REPOSITORY

https://github.com/zorgnax/lwpcurllog

AUTHOR

Jacob Gelbman, <gelbman@gmail.com>

COPYRIGHT AND LICENSE

Copyright (C) 2017 by Jacob Gelbman

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.18.2 or, at your option, any later version of Perl 5 you may have available.