Faster conversions to/from Bencode format
http://search.cpan.org/dist/Convert-Bencode_XS/
* bencode($stuff)
Returns a bencoded string representing what's in $stuff. $stuff can be
either a scalar, an array reference or a hash reference. Every nesting of
these data structures is allowed, other ones will croak.
* bdecode($bencoded)
Returns a Perl data structure: it could be either a scalar, array
reference or hash reference depending on what's in $bencoded.
Dictionaries are converted in hashes, lists in arrays, scalars in
strings. If $COERCE (see below) is set to a false value then scalars
encoded like integers will be cleanse() before being returned so that a
re-serialization of the structure will give back exactly the same
bencoded string.
- Sources inherited from project devel:languages:perl
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:Tomcat42/perl-Convert-Bencode_XS && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
Convert-Bencode_XS-0.06.tar.gz | 0000008926 8.72 KB | |
cpanspec.yml | 0000000774 774 Bytes | |
perl-Convert-Bencode_XS.changes | 0000000539 539 Bytes | |
perl-Convert-Bencode_XS.spec | 0000002304 2.25 KB | |
storable-canonical.patch | 0000000445 445 Bytes |
Latest Revision
Dirk Stoecker (dstoecker)
accepted
request 1156194
from
Tina Müller (tinita)
(revision 3)
- Use %autosetup instead of deprecated %patchN
Comments 0