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
| System | Port | Version |
|---|---|---|
| FreeBSD | www/p5-HTTP-Simple | 0.004 |
| DragonFly | www/p5-HTTP-Simple | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.004 | 0.004 | 0.004 | 0.004 | 0.004 |
| FreeBSD:14:quarterly | 0.004 | 0.004 | n/a | 0.004 | 0.004 |
| FreeBSD:15:latest | 0.004 | 0.004 | n/a | 0.004 | 0.004 |
| FreeBSD:15:quarterly | 0.004 | 0.004 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.004 | 0.004 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
p5-Cpanel-JSON-XS>=4.11: converters/p5-Cpanel-JSON-XSp5-IO-Socket-SSL>=0: security/p5-IO-Socket-SSL
Runtime 2
p5-Cpanel-JSON-XS>=4.11: converters/p5-Cpanel-JSON-XSp5-IO-Socket-SSL>=0: security/p5-IO-Socket-SSL
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
| File | Size | SHA256 |
|---|---|---|
| HTTP-Simple-0.004.tar.gz | 19212 | e746f073e36b87021a75bc8620df8da71016c8db107f3fe725f821a845c864fa |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.