Convert::BencodeConvert::Bencode are functions for converting to/from bencoded strings. | |
Download |
Convert::Bencode Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- R. Kyle Murphy
- Publisher web site:
- http://search.cpan.org/~orclev/Convert-Bencode-1.03/lib/Convert/Bencode.pm
Convert::Bencode Tags
Convert::Bencode Description
Convert::Bencode are functions for converting to/from bencoded strings. Convert::Bencode are functions for converting to/from bencoded strings.SYNOPSIS use Convert::Bencode qw(bencode bdecode); my $string = "d4:ainti12345e3:key5:value4:type4:teste"; my $hashref = bdecode($string); foreach my $key (keys(%{$hashref})) { print "Key: $key, Value: ${$hashref}{$key}n"; } my $encoded_string = bencode($hashref); print $encoded_string."n";This module provides two functions, bencode and bdecode, which encode and decode bencoded strings respectivly. Requirements: · Perl
Convert::Bencode Related Software