convert m4a to mp3
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 1979
Convert::Morse 0.04
Convert::Morse is a package to convert between ASCII text and MORSE alphabet. more>>
Convert::Morse is a package to convert between ASCII text and MORSE alphabet.
SYNOPSIS
use Convert::Morse qw(as_ascii as_morse is_morsable);
print as_ascii(.... . .-.. .-.. --- -- --- .-. ... .),"n";
# Helo Morse
print as_morse(Perl?),"n"; # .--. . .-. .-.. ..--..
print "Yes!n" if is_morsable(Helo Perl.); # print "Yes!"
This module lets you convert between normal ASCII text and international Morse code. You can redefine the token sets, if you like.
INPUT
ASCII text can have both lower and upper case, it will be converted to upper case prior to converting.
Morse code input consists of dashes - and dots .. The elements MUST NOT to have spaces between, e.g. A is .- and not . -. Characters MUST have at least one space between. Additonal spaces are left over to indicate word boundaries. This means .- -... means AB and and .- -... means A B.
The conversion routines are designed to be stable and ignore/skip unknown input, so that you can write:
print as_ascii(Hello -- --- .-. ... . Perl!);
beware, though, a single . or - at the end will be interpreted as . respective - and thus become E or T. Use Convert::Morse::error() to check wether all went ok or not.
OUTPUT
The output will always consist of upper case letters or, in case of as_morse(), of [-. ].
ERRORS
Unknown tokens in the input are ignored/skipped. In these cases you get the last error message with Convert::Morse::error().
Version restrictions:
- Can not yet do Japanese code nor German Umlaute.
<<lessSYNOPSIS
use Convert::Morse qw(as_ascii as_morse is_morsable);
print as_ascii(.... . .-.. .-.. --- -- --- .-. ... .),"n";
# Helo Morse
print as_morse(Perl?),"n"; # .--. . .-. .-.. ..--..
print "Yes!n" if is_morsable(Helo Perl.); # print "Yes!"
This module lets you convert between normal ASCII text and international Morse code. You can redefine the token sets, if you like.
INPUT
ASCII text can have both lower and upper case, it will be converted to upper case prior to converting.
Morse code input consists of dashes - and dots .. The elements MUST NOT to have spaces between, e.g. A is .- and not . -. Characters MUST have at least one space between. Additonal spaces are left over to indicate word boundaries. This means .- -... means AB and and .- -... means A B.
The conversion routines are designed to be stable and ignore/skip unknown input, so that you can write:
print as_ascii(Hello -- --- .-. ... . Perl!);
beware, though, a single . or - at the end will be interpreted as . respective - and thus become E or T. Use Convert::Morse::error() to check wether all went ok or not.
OUTPUT
The output will always consist of upper case letters or, in case of as_morse(), of [-. ].
ERRORS
Unknown tokens in the input are ignored/skipped. In these cases you get the last error message with Convert::Morse::error().
Version restrictions:
- Can not yet do Japanese code nor German Umlaute.
Download (0.006MB)
Added: 2006-08-02 License: Perl Artistic License Price:
1178 downloads
Convert::Bencode 1.03
Convert::Bencode are functions for converting to/from bencoded strings. more>>
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.
<<lessSYNOPSIS
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.
Download (0.010MB)
Added: 2006-08-02 License: Perl Artistic License Price:
1181 downloads
Convert::CharMap 0.01
Convert::CharMap is a Perl module that can conversion between Unicode Character Maps. more>>
Convert::CharMap is a Perl module that can conversion between Unicode Character Maps.
SYNOPSIS
use Convert::CharMap;
my $map = Convert::CharMap->load(CharMapML => test.xml);
$map->save(UCM => test.ucm);
This module transforms between unicode character map formats, using an in-memory representation of CharMapML as the intermediate format.
Currently is supports the CharMapML, YAML and UCM (write-only) backends; ENC, Iconv and other maps are also planned.
<<lessSYNOPSIS
use Convert::CharMap;
my $map = Convert::CharMap->load(CharMapML => test.xml);
$map->save(UCM => test.ucm);
This module transforms between unicode character map formats, using an in-memory representation of CharMapML as the intermediate format.
Currently is supports the CharMapML, YAML and UCM (write-only) backends; ENC, Iconv and other maps are also planned.
Download (0.004MB)
Added: 2006-08-18 License: Perl Artistic License Price:
1164 downloads
Convert::MIL1750A 0.1
Convert::MIL1750A is a Perl module for conversion routines between decimal floating/integer values and hexadecimal values. more>>
Convert::MIL1750A is a Perl module for conversion routines between decimal floating/integer values and hexadecimal values in the MIL-STD-1750A format.
SYNOPSIS
use MIL1750A;
# Convert to MIL-STD-1750A hex from decimal
$hex16i = I16_to_1750A( $dec_value );
$hex16f = F16_to_1750A( $dec_value );
$hex32f = F32_to_1750A( $dec_value );
$hex48f = F48_to_1750A( $dec_value );
# Convert MIL-STD-1750A hex to decimal
$dec_value = M1750A_to_16int( $hex16i );
$dec_value = M1750A_to_16flt( $hex16f );
$dec_value = M1750A_to_32flt( $hex32f );
$dec_value = M1750A_to_48flt( $hex48f );
or ...
use MIL1750A qw( i16_to_mil f16_to_mil f32_to_mil f48_to_mil
mil_to_32f mil_to_48f mil_to_16f mil_to_16i );
# Convert to MIL-STD-1750A hex from decimal
$hex16i = i16_to_mil( $dec_value );
$hex16f = f16_to_mil( $dec_value );
$hex32f = f32_to_mil( $dec_value );
$hex48f = f48_to_mil( $dec_value );
# Convert MIL-STD-1750A hex to decimal
$dec_value = mil_to_16i( $hex16i );
$dec_value = mil_to_16f( $hex16f );
$dec_value = mil_to_32f( $hex32f );
$dec_value = mil_to_48f( $hex48f );
Convert::MIL1750A features routines to convert between 16I/16F/32F/48F decimal values and their equivalent in MIL-STD-1750A hexadecimal. The 1750A standard describes a microprocessor that is used as the backbone of many modern and legacy avionics systems. The 1750A stores data as an 8-bit exponent and n-bit mantissa (where n is the number of bits remaining in the value).
It is important to treat 16-bit values as 16-bit, 32-bit as 32-bit and 48-bit as 48-bit. Crossing bit structures will create unexpected results as 1750A hex values are structured differently, depending on their size. Additionally, the 16F format is not a formal member of the 1750A standard; it is used, however, in certain applications and is provided for reference. The 1750A standard allows positive and negative values using the 2s complement arrangement.
This module is extremely useful for ingesting data output by or for a 1750A flight processor. I would like to thank and acknowledge Dave Niklewski for helping me to find the standard documentation.Convert::MIL1750A is a Perl module for conversion routines between decimal floating/integer values and hexadecimal values in the MIL-STD-1750A format.
<<lessSYNOPSIS
use MIL1750A;
# Convert to MIL-STD-1750A hex from decimal
$hex16i = I16_to_1750A( $dec_value );
$hex16f = F16_to_1750A( $dec_value );
$hex32f = F32_to_1750A( $dec_value );
$hex48f = F48_to_1750A( $dec_value );
# Convert MIL-STD-1750A hex to decimal
$dec_value = M1750A_to_16int( $hex16i );
$dec_value = M1750A_to_16flt( $hex16f );
$dec_value = M1750A_to_32flt( $hex32f );
$dec_value = M1750A_to_48flt( $hex48f );
or ...
use MIL1750A qw( i16_to_mil f16_to_mil f32_to_mil f48_to_mil
mil_to_32f mil_to_48f mil_to_16f mil_to_16i );
# Convert to MIL-STD-1750A hex from decimal
$hex16i = i16_to_mil( $dec_value );
$hex16f = f16_to_mil( $dec_value );
$hex32f = f32_to_mil( $dec_value );
$hex48f = f48_to_mil( $dec_value );
# Convert MIL-STD-1750A hex to decimal
$dec_value = mil_to_16i( $hex16i );
$dec_value = mil_to_16f( $hex16f );
$dec_value = mil_to_32f( $hex32f );
$dec_value = mil_to_48f( $hex48f );
Convert::MIL1750A features routines to convert between 16I/16F/32F/48F decimal values and their equivalent in MIL-STD-1750A hexadecimal. The 1750A standard describes a microprocessor that is used as the backbone of many modern and legacy avionics systems. The 1750A stores data as an 8-bit exponent and n-bit mantissa (where n is the number of bits remaining in the value).
It is important to treat 16-bit values as 16-bit, 32-bit as 32-bit and 48-bit as 48-bit. Crossing bit structures will create unexpected results as 1750A hex values are structured differently, depending on their size. Additionally, the 16F format is not a formal member of the 1750A standard; it is used, however, in certain applications and is provided for reference. The 1750A standard allows positive and negative values using the 2s complement arrangement.
This module is extremely useful for ingesting data output by or for a 1750A flight processor. I would like to thank and acknowledge Dave Niklewski for helping me to find the standard documentation.Convert::MIL1750A is a Perl module for conversion routines between decimal floating/integer values and hexadecimal values in the MIL-STD-1750A format.
Download (0.004MB)
Added: 2006-08-07 License: Perl Artistic License Price:
1177 downloads
Convert::RACE 0.07
Convert::RACE is a conversion between Unicode and RACE. more>>
Convert::RACE is a conversion between Unicode and RACE.
SYNOPSIS
use Convert::RACE;
$domain = to_race($utf16str);
$utf16str = from_race($domain);
This module provides functions to convert between RACE (Row-based ASCII-Compatible Encoding) and Unicode Encodings.
RACE converts strings with internationalized characters into strings of US-ASCII that are acceptable as host name parts in current DNS host naming usage.
<<lessSYNOPSIS
use Convert::RACE;
$domain = to_race($utf16str);
$utf16str = from_race($domain);
This module provides functions to convert between RACE (Row-based ASCII-Compatible Encoding) and Unicode Encodings.
RACE converts strings with internationalized characters into strings of US-ASCII that are acceptable as host name parts in current DNS host naming usage.
Download (0.004MB)
Added: 2006-08-14 License: GPL (GNU General Public License) Price:
1167 downloads
Convert::ASN1 0.20
Convert::ASN1 is an ASN.1 Encode/Decode library. more>>
Convert::ASN1 is an ASN.1 Encode/Decode library.
SYNOPSYS
use Convert::ASN1;
$asn = Convert::ASN1->new;
$asn->prepare(q<
[APPLICATION 7] SEQUENCE {
int INTEGER,
str OCTET STRING
}
>);
$pdu = $asn->encode( int => 7, str => "string");
$out = $asn->decode($pdu);
print $out->{int}," ",$out->{str},"n";
use Convert::ASN1 qw(:io);
$peer = asn_recv($sock,$buffer,0);
$nbytes = asn_read($fh, $buffer);
$nbytes = asn_send($sock, $buffer, $peer);
$nbytes = asn_send($sock, $buffer);
$nbytes = asn_write($fh, $buffer);
$buffer = asn_get($fh);
$yes = asn_ready($fh)
Convert::ASN1 encodes and decodes ASN.1 data structures using BER/DER rules.
<<lessSYNOPSYS
use Convert::ASN1;
$asn = Convert::ASN1->new;
$asn->prepare(q<
[APPLICATION 7] SEQUENCE {
int INTEGER,
str OCTET STRING
}
>);
$pdu = $asn->encode( int => 7, str => "string");
$out = $asn->decode($pdu);
print $out->{int}," ",$out->{str},"n";
use Convert::ASN1 qw(:io);
$peer = asn_recv($sock,$buffer,0);
$nbytes = asn_read($fh, $buffer);
$nbytes = asn_send($sock, $buffer, $peer);
$nbytes = asn_send($sock, $buffer);
$nbytes = asn_write($fh, $buffer);
$buffer = asn_get($fh);
$yes = asn_ready($fh)
Convert::ASN1 encodes and decodes ASN.1 data structures using BER/DER rules.
Download (0.060MB)
Added: 2006-08-22 License: Perl Artistic License Price:
1178 downloads
Convert::Translit 1.03
Convert::Translit, transliterate, build_substitutes is a Perl module for string conversion among numerous character sets. more>>
Convert::Translit, transliterate, build_substitutes is a Perl module for string conversion among numerous character sets.
SYNOPSIS
use Convert::Translit;
$translator = new Convert::Translit($result_chset);
$translator = new Convert::Translit($orig_chset, $result_chset);
$translator = new Convert::Translit($orig_chset, $result_chset, $verbose);
$result_st = $translator->transliterate($orig_st);
$result_st = Convert::Translit::transliterate($orig_st);
build_substitutes Convert::Translit();
Convert::Translit::build_substitutes();
This module converts strings among 8-bit character sets defined by IETF RFC 1345 (about 128 sets). The RFC document is included so you can look up character set names and aliases; its also read by the module when composing conversion maps. Failing functions or objects return undef value.
Export_OK Functions:
transliterate()
returns a string in $result_chset for an argument string in $orig_chset, transliterating by a map composed by new().
build_substitutes()
rebuilds the file "substitutes" containing character definitions and approximate substitutions used when a character in $orig_chset isnt defined in $result_chset. For example, "Latin capital A" may be substituted for "Latin capital A with ogonek". It takes a long time to rebuild this file, but you should never need to. Its only source of information is file "rfc1345".
Object methods:
new()
creates a new object for converting from $orig_chset to $result_chset, these being names (or aliases) of 8-bit character sets defined in RFC 1345. If only one argument, then $orig_chset is assumed "ascii". If three arguments, the third is verbosity flag. Verbose output lists approximate substitutions and other compromises.
transliterate()
is same as the function of that name.
build_substitutes()
is same as the function of that name.
<<lessSYNOPSIS
use Convert::Translit;
$translator = new Convert::Translit($result_chset);
$translator = new Convert::Translit($orig_chset, $result_chset);
$translator = new Convert::Translit($orig_chset, $result_chset, $verbose);
$result_st = $translator->transliterate($orig_st);
$result_st = Convert::Translit::transliterate($orig_st);
build_substitutes Convert::Translit();
Convert::Translit::build_substitutes();
This module converts strings among 8-bit character sets defined by IETF RFC 1345 (about 128 sets). The RFC document is included so you can look up character set names and aliases; its also read by the module when composing conversion maps. Failing functions or objects return undef value.
Export_OK Functions:
transliterate()
returns a string in $result_chset for an argument string in $orig_chset, transliterating by a map composed by new().
build_substitutes()
rebuilds the file "substitutes" containing character definitions and approximate substitutions used when a character in $orig_chset isnt defined in $result_chset. For example, "Latin capital A" may be substituted for "Latin capital A with ogonek". It takes a long time to rebuild this file, but you should never need to. Its only source of information is file "rfc1345".
Object methods:
new()
creates a new object for converting from $orig_chset to $result_chset, these being names (or aliases) of 8-bit character sets defined in RFC 1345. If only one argument, then $orig_chset is assumed "ascii". If three arguments, the third is verbosity flag. Verbose output lists approximate substitutions and other compromises.
transliterate()
is same as the function of that name.
build_substitutes()
is same as the function of that name.
Download (0.078MB)
Added: 2006-08-08 License: Perl Artistic License Price:
1179 downloads
Text::Convert::ToImage
Text::Convert::ToImage is a Perl module. more>>
Text::Convert::ToImage is a Perl module.
SYNOPSIS
use Text::Convert::ToImage;
my $tti = Text::Convert::ToImage->new();
my $length = length($email);
if ($length > 150) {
$email = "Your text length of $length is too large:";
}
my $config = {
TEXT => $email ? $email : "y@hn.org",
POINTSIZE => $point_size ? $point_size : 14,
LEVEL => $level ? $level : 0,
FONT => $font,
XSKEW => $xskew,
YSKEW => $yskew,
};
$tti->calculate($config);
print "Content-type: image/pngnn";
binmode STDOUT;
$tti->Write(png:-);
This was knocked up a long time ago and someone asked me if the source was available so I decided to put it on CPAN. There is very little documentation with it.
There are also very few tests. If more than me and the person who asked for the module use it then I will write some tests for it.
At the moment I have been using it top obfuscate emails and not much else. A demo can be found at http://www.hjackson.org/cgi-bin/tools/email.pl
There are some undocumented features to this module and they are this way because I have not tested to see if they work yet.
<<lessSYNOPSIS
use Text::Convert::ToImage;
my $tti = Text::Convert::ToImage->new();
my $length = length($email);
if ($length > 150) {
$email = "Your text length of $length is too large:";
}
my $config = {
TEXT => $email ? $email : "y@hn.org",
POINTSIZE => $point_size ? $point_size : 14,
LEVEL => $level ? $level : 0,
FONT => $font,
XSKEW => $xskew,
YSKEW => $yskew,
};
$tti->calculate($config);
print "Content-type: image/pngnn";
binmode STDOUT;
$tti->Write(png:-);
This was knocked up a long time ago and someone asked me if the source was available so I decided to put it on CPAN. There is very little documentation with it.
There are also very few tests. If more than me and the person who asked for the module use it then I will write some tests for it.
At the moment I have been using it top obfuscate emails and not much else. A demo can be found at http://www.hjackson.org/cgi-bin/tools/email.pl
There are some undocumented features to this module and they are this way because I have not tested to see if they work yet.
Download (0.011MB)
Added: 2006-08-22 License: Perl Artistic License Price:
1158 downloads
Convert::BER 1.3101
Convert::BER is a Perl module for ASN.1 Basic Encoding Rules. more>>
Convert::BER is a Perl module for ASN.1 Basic Encoding Rules.
SYNOPSIS
use Convert::BER;
$ber = new Convert::BER;
$ber->encode(
INTEGER => 1,
SEQUENCE => [
BOOLEAN => 0,
STRING => "Hello",
],
REAL => 3.7,
);
$ber->decode(
INTEGER => $i,
SEQUENCE => [
BOOLEAN => $b,
STRING => $s,
],
REAL => $r,
);
Convert::BER provides an OO interface to encoding and decoding data using the ASN.1 Basic Encoding Rules (BER), a platform independent way of encoding structured binary data together with the structure.
<<lessSYNOPSIS
use Convert::BER;
$ber = new Convert::BER;
$ber->encode(
INTEGER => 1,
SEQUENCE => [
BOOLEAN => 0,
STRING => "Hello",
],
REAL => 3.7,
);
$ber->decode(
INTEGER => $i,
SEQUENCE => [
BOOLEAN => $b,
STRING => $s,
],
REAL => $r,
);
Convert::BER provides an OO interface to encoding and decoding data using the ASN.1 Basic Encoding Rules (BER), a platform independent way of encoding structured binary data together with the structure.
Download (0.025MB)
Added: 2006-08-22 License: Perl Artistic License Price:
1171 downloads
Convert::EastAsianWidth 0.03
Convert::EastAsianWidth is a Perl module that can convert between full- and half-width characters. more>>
Convert::EastAsianWidth is a Perl module that can convert between full- and half-width characters.
SYNOPSIS
# Exports to_fullwidth() and to_halfwidth() by default
use Convert::EastAsianWidth;
my $u = to_fullwidth(ABC); # Full-width variant of ABC
my $b = to_fullwidth(ABC, big5); # Ditto, but in big5 encoding
my $x = to_halfwidth($u); # Gets back ABC
my $y = to_halfwidth($b, big5); # Same as above
This module uses the regular expression properties provided by Unicode::EastAsianWidth to efficiently convert between full- and half-width characters.
The first argument is the string to be converted; the second one represents the input and encodings. If omitted, both are assumed by to Unicode strings.
In Perl versions before 5.8, Encode::compat is required for the encoding conversion function to work.
<<lessSYNOPSIS
# Exports to_fullwidth() and to_halfwidth() by default
use Convert::EastAsianWidth;
my $u = to_fullwidth(ABC); # Full-width variant of ABC
my $b = to_fullwidth(ABC, big5); # Ditto, but in big5 encoding
my $x = to_halfwidth($u); # Gets back ABC
my $y = to_halfwidth($b, big5); # Same as above
This module uses the regular expression properties provided by Unicode::EastAsianWidth to efficiently convert between full- and half-width characters.
The first argument is the string to be converted; the second one represents the input and encodings. If omitted, both are assumed by to Unicode strings.
In Perl versions before 5.8, Encode::compat is required for the encoding conversion function to work.
Download (0.014MB)
Added: 2006-08-03 License: Perl Artistic License Price:
1178 downloads
Convert::Number::Digits 0.03
Convert::Number::Digits is a Perl module that convert Digits Between the Scripts of Unicode. more>>
Convert::Number::Digits is a Perl module that convert Digits Between the Scripts of Unicode.
SYNOPSIS
use utf8;
require Convert::Number::Digits;
my $number = 12345;
my $d = new Convert::Number::Digits ( $number );
print "$number => ", $d->toArabic, "n";
my $gujarti = $d->toGujarti;
my $khmer = reverse ( $d->toKhmer );
$d->number ( $khmer ); # reset the number
print "$number => $gujarti => ", $d->number, " => ", $n->convert, "n";
The Convert::Number::Digits will convert a sequence of digits from one script supported in Unicode, into another. UTF-8 encoding is used for all scripts.
<<lessSYNOPSIS
use utf8;
require Convert::Number::Digits;
my $number = 12345;
my $d = new Convert::Number::Digits ( $number );
print "$number => ", $d->toArabic, "n";
my $gujarti = $d->toGujarti;
my $khmer = reverse ( $d->toKhmer );
$d->number ( $khmer ); # reset the number
print "$number => $gujarti => ", $d->number, " => ", $n->convert, "n";
The Convert::Number::Digits will convert a sequence of digits from one script supported in Unicode, into another. UTF-8 encoding is used for all scripts.
Download (0.005MB)
Added: 2006-08-02 License: Perl Artistic License Price:
1178 downloads
Convert::AcrossLite 0.08
Convert::AcrossLite is a Perl module to convert binary AcrossLite puzzle files to text. more>>
Convert::AcrossLite is a Perl module to convert binary AcrossLite puzzle files to text.
SYNOPSIS
use Convert::AcrossLite;
my $ac = Convert::AcrossLite->new();
$ac->in_file(/home/doug/puzzles/Easy.puz);
$ac->out_file(/home/doug/puzzles/Easy.txt);
$ac->puz2text;
or
use Convert::AcrossLite;
my $ac = Convert::AcrossLite->new();
$ac->in_file(/home/doug/puzzles/Easy.puz);
my $text = $ac->puz2text;
or
use Convert::AcrossLite;
my $ac = Convert::AcrossLite->new();
$ac->in_file(/home/doug/puzzles/Easy.puz);
my $ac->parse_file;
my $title = $ac->get_title;
my $author = $ac->get_author;
my $copyright = $ac->get_copyright;
my @solution = $ac->get_solution;
my @diagram = $ac->get_diagram;
my $across_clues = $ac->get_across_clues;
my $down_clues = $ac->get_down_clues;
or
use Convert::AcrossLite;
my $ac = Convert::AcrossLite->new();
$ac->in_file(/home/doug/puzzles/Easy.puz);
my($across_hashref, $down_hashref) = get_across_down;
my %across= %$across_hashref;
foreach my $key (sort { $a $b } keys %across) {
print "Direction: $across{$key}{direction}n";
print "Clue Number: $across{$key}{clue_number}n";
print "Row: $across{$key}{row}n";
print "Col: $across{$key}{column}n";
print "Clue: $across{$key}{clue}n";
print "Solution: $across{$key}{solution}n";
print "Length: $across{$key}{length}nn";
}
my %down= %$down_hashref;
foreach my $key (sort { $a $b } keys %down) {
print "Direction: $down{$key}{direction}n";
print "Clue Number: $down{$key}{clue_number}n";
print "Row: $down{$key}{row}n";
print "Col: $down{$key}{column}n";
print "Clue: $down{$key}{clue}n";
print "Solution: $down{$key}{solution}n";
print "Length: $down{$key}{length}nn";
}
Convert::AcrossLite is used to convert binary AcrossLite puzzle files to text.
<<lessSYNOPSIS
use Convert::AcrossLite;
my $ac = Convert::AcrossLite->new();
$ac->in_file(/home/doug/puzzles/Easy.puz);
$ac->out_file(/home/doug/puzzles/Easy.txt);
$ac->puz2text;
or
use Convert::AcrossLite;
my $ac = Convert::AcrossLite->new();
$ac->in_file(/home/doug/puzzles/Easy.puz);
my $text = $ac->puz2text;
or
use Convert::AcrossLite;
my $ac = Convert::AcrossLite->new();
$ac->in_file(/home/doug/puzzles/Easy.puz);
my $ac->parse_file;
my $title = $ac->get_title;
my $author = $ac->get_author;
my $copyright = $ac->get_copyright;
my @solution = $ac->get_solution;
my @diagram = $ac->get_diagram;
my $across_clues = $ac->get_across_clues;
my $down_clues = $ac->get_down_clues;
or
use Convert::AcrossLite;
my $ac = Convert::AcrossLite->new();
$ac->in_file(/home/doug/puzzles/Easy.puz);
my($across_hashref, $down_hashref) = get_across_down;
my %across= %$across_hashref;
foreach my $key (sort { $a $b } keys %across) {
print "Direction: $across{$key}{direction}n";
print "Clue Number: $across{$key}{clue_number}n";
print "Row: $across{$key}{row}n";
print "Col: $across{$key}{column}n";
print "Clue: $across{$key}{clue}n";
print "Solution: $across{$key}{solution}n";
print "Length: $across{$key}{length}nn";
}
my %down= %$down_hashref;
foreach my $key (sort { $a $b } keys %down) {
print "Direction: $down{$key}{direction}n";
print "Clue Number: $down{$key}{clue_number}n";
print "Row: $down{$key}{row}n";
print "Col: $down{$key}{column}n";
print "Clue: $down{$key}{clue}n";
print "Solution: $down{$key}{solution}n";
print "Length: $down{$key}{length}nn";
}
Convert::AcrossLite is used to convert binary AcrossLite puzzle files to text.
Download (0.010MB)
Added: 2006-08-03 License: Perl Artistic License Price:
1178 downloads
Convert::Base32 0.02
Convert::Base32 is a Perl module for encoding and decoding of base32 strings. more>>
Convert::Base32 is a Perl module for encoding and decoding of base32 strings.
SYNOPSIS
use Convert::Base32;
$encoded = encode_base32("x3ax27x0fx93");
$decoded = decode_base32($encoded);
This module provides functions to convert string from / to Base32 encoding, specified in RACE internet-draft. The Base32 encoding is designed to encode non-ASCII characters in DNS-compatible host name parts.
<<lessSYNOPSIS
use Convert::Base32;
$encoded = encode_base32("x3ax27x0fx93");
$decoded = decode_base32($encoded);
This module provides functions to convert string from / to Base32 encoding, specified in RACE internet-draft. The Base32 encoding is designed to encode non-ASCII characters in DNS-compatible host name parts.
Download (0.002MB)
Added: 2006-08-12 License: Perl Artistic License Price:
1176 downloads
Convert::IBM390 0.22
Convert::IBM390 is a Perl module functions for manipulating mainframe data. more>>
Convert::IBM390 is a Perl module functions for manipulating mainframe data.
SYNOPSIS
use Convert::IBM390 qw(...those desired... or :all);
$eb = asc2eb($string);
$asc = eb2asc($string);
$asc = eb2ascp($string);
$ebrecord = packeb($template, LIST...);
@fields = unpackeb($template, $record);
@lines = hexdump($string [,startaddr [,charset]]);
Convert::IBM390 supplies various functions that you may find useful when messing with IBM System/3[679]0 data. No functions are exported automatically; you must ask for the ones you want. "use ... qw(:all)" exports all functions.
By the way, this module is called "IBM390" because it will deal with data from any mainframe operating system. Nothing about it is specific to z/OS, z/VM, or z/VSE.
<<lessSYNOPSIS
use Convert::IBM390 qw(...those desired... or :all);
$eb = asc2eb($string);
$asc = eb2asc($string);
$asc = eb2ascp($string);
$ebrecord = packeb($template, LIST...);
@fields = unpackeb($template, $record);
@lines = hexdump($string [,startaddr [,charset]]);
Convert::IBM390 supplies various functions that you may find useful when messing with IBM System/3[679]0 data. No functions are exported automatically; you must ask for the ones you want. "use ... qw(:all)" exports all functions.
By the way, this module is called "IBM390" because it will deal with data from any mainframe operating system. Nothing about it is specific to z/OS, z/VM, or z/VSE.
Download (0.023MB)
Added: 2006-08-17 License: Perl Artistic License Price:
1164 downloads
Convert::Recode 1.04
Convert::Recode is a Perl module to make mapping functions between character sets. more>>
Convert::Recode is a Perl module to make mapping functions between character sets.
SYNOPSIS
use Convert::Recode qw(ebcdic_to_ascii);
while () {
print ebcdic_to_ascii($_);
}
The Convert::Recode module can provide mapping functions between character sets on demand. It depends on GNU recode to provide the raw mapping data, i.e. GNU recode must be installed first. The name of the mapping function is constructed by taking the names of the two charsets and joining them with the string "_to_". For example, if you want to convert between the "mac" and the "latin1" charsets, just import the mac_to_latin1() function.
If you prefix the function name with "strict_", any characters that cannot be mapped are removed during transformation. For instance, the strict_mac_to_latin1() function converts a string to latin1 and removes all mac characters that do not have a corresponding latin1 character.
Running the command recode -l should give you the list of available character sets.
<<lessSYNOPSIS
use Convert::Recode qw(ebcdic_to_ascii);
while () {
print ebcdic_to_ascii($_);
}
The Convert::Recode module can provide mapping functions between character sets on demand. It depends on GNU recode to provide the raw mapping data, i.e. GNU recode must be installed first. The name of the mapping function is constructed by taking the names of the two charsets and joining them with the string "_to_". For example, if you want to convert between the "mac" and the "latin1" charsets, just import the mac_to_latin1() function.
If you prefix the function name with "strict_", any characters that cannot be mapped are removed during transformation. For instance, the strict_mac_to_latin1() function converts a string to latin1 and removes all mac characters that do not have a corresponding latin1 character.
Running the command recode -l should give you the list of available character sets.
Download (0.003MB)
Added: 2006-08-12 License: Perl Artistic License Price:
1168 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above convert m4a to mp3 search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed