| 1 |
Source: libdata-uriencode-perl |
| 2 |
Section: perl |
| 3 |
Priority: optional |
| 4 |
Maintainer: Debian Perl Group <[email protected]> |
| 5 |
Uploaders: Paul Gevers <[email protected]> |
| 6 |
Build-Depends: debhelper-compat (= 13) |
| 7 |
Build-Depends-Indep: |
| 8 |
libcgi-pm-perl <!nocheck>, |
| 9 |
perl |
| 10 |
Rules-Requires-Root: no |
| 11 |
Standards-Version: 4.6.1 |
| 12 |
Homepage: https://metacpan.org/release/Data-URIEncode |
| 13 |
Testsuite: autopkgtest-pkg-perl |
| 14 |
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libdata-uriencode-perl.git |
| 15 |
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libdata-uriencode-perl |
| 16 |
|
| 17 |
Package: libdata-uriencode-perl |
| 18 |
Architecture: all |
| 19 |
Depends: ${misc:Depends}, ${perl:Depends} |
| 20 |
Multi-Arch: foreign |
| 21 |
Description: module to encode and decode data structures for use in URI's |
| 22 |
The world of the web works off of URI's. The Query string portion of |
| 23 |
URIs already support encoding of key/value paired data - they just |
| 24 |
don't natively allow for complex data structures. |
| 25 |
. |
| 26 |
There are modules or encodings that do support arbitrarily complex |
| 27 |
data structures. JSON, YAML and Data::Dumper all have their own way |
| 28 |
of encoding complex structures. But then to pass them across the web, |
| 29 |
you usually still have to URL encode them and pass them via a form |
| 30 |
parameter. |
| 31 |
. |
| 32 |
Data::URIEncode allows for encoding and decoding complex (multi |
| 33 |
level) data structures using native Query String manipulators (such |
| 34 |
as CGI.pm). It takes complex data and turns it into a flat hashref |
| 35 |
which can then be turned into a URI query string using URL |
| 36 |
encoding. It also takes a flat hashref of data passed in and |
| 37 |
translates it back to a complex structure. |