BSD Ports

www/p5-HTTP-Simple 0.004 FreeBSD

Simple procedural interface to HTTP::Tiny

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART20
Categories
www, perl5
Package size
10.4 KiB, 21.5 KiB installed

Description

HTTP::Simple is a wrapper of HTTP::Tiny that provides simplified functions for performing HTTP requests in a similar manner to LWP::Simple, but with slightly more useful error handling. For full control of the request process and response handling, use HTTP::Tiny directly.

IO::Socket::SSL is required for HTTPS requests with HTTP::Tiny.

Request methods that return the body content of the response will return a byte string suitable for directly printing, but that may need to be decoded for text operations.

The HTTP::Tiny object used by these functions to make requests can be accessed as $HTTP::Simple::UA (for example, to configure the timeout, or replace it with a compatible object like HTTP::Tinyish).

The JSON encoder used by the JSON functions defaults to a JSON::PP instance, and can be accessed as $HTTP::Simple::JSON.

In the other systems

SystemPortVersion
FreeBSDwww/p5-HTTP-Simple0.004
DragonFlywww/p5-HTTP-Simple0.004

Install

Binary package:

pkg install p5-HTTP-Simple

From the ports tree:

cd /usr/ports/www/p5-HTTP-Simple/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-HTTP-Simple>0:www/p5-HTTP-Simple

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.0040.0040.0040.0040.004
FreeBSD:14:quarterly0.0040.004n/a0.0040.004
FreeBSD:15:latest0.0040.004n/a0.0040.004
FreeBSD:15:quarterly0.0040.004n/an/an/a
FreeBSD:16:latest0.0040.004n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 2

The full lists below include those, and their dependencies in turn.

Build dependencies 8
Run dependencies 8
Required by 1

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/HTTP/Simple.pm
  • %%PERL5_MAN3%%/HTTP::Simple.3.gz
distinfo 1
FileSizeSHA256
HTTP-Simple-0.004.tar.gz19212e746f073e36b87021a75bc8620df8da71016c8db107f3fe725f821a845c864fa
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.