The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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:

  curly --url https://example.com

Retrieve the content of multiple URLs:

  curly https://example.com https://google.com

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