From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

NAME

curly - Get the content of a URL using LWP::UserAgent or system curl

VERSION

version 0.1.2

SYNOPSIS

curly [options] [urls]
Options:
-u, --url URL Specify a single URL to retrieve its content
--verbose Print debug information

DESCRIPTION

curly is a Perl script that allows you to retrieve the content of a URL using either LWP::UserAgent or the system curl command. It provides a convenient way to fetch the content of a URL and print it to the console.

OPTIONS

-u, --url URL

Specify a single URL to retrieve its content. This option is optional, and you can also provide URLs as command-line arguments.

USAGE

To use curly, simply run the script with the desired options and URLs. The script will retrieve the content of each URL and print it to the console.

Examples

Retrieve the content of a single URL:

Retrieve the content of multiple URLs:

AUTHOR

Andrea Telatin <proch@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2023 by Andrea Telatin.

This is free software, licensed under:

The MIT (X11) License