converts
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 1216
Convert::Cyr
Convert::Cyr, chcp is a Perl module for change cyrillic code page of a text. more>>
Convert::Cyr, chcp is a Perl module for change cyrillic code page of a text.
SYNOPSIS
use Convert::Cyr qw(chcp); $converted_string=chcp($string, $maxlen, $from, $to);
ABSTRACT
Convert::Cyr, chcp - change cyrillic code page of a text.
chcp takes as the first argument a string that is to be converted. It returns the converted string. Second argument is the lenght of the string. Third is source codepage. Forth is target codepage.
Original description from PHP function:
convert_cyr_string (string str, string from, string to) "This function returns the given string converted from one Cyrillic character set to another. The from and to arguments are single characters that represent the source and target Cyrillic character sets."
The supported types are: k - koi8-r w - windows-1251 i - iso8859-5 a - x-cp866 d - x-cp866 m - x-mac-cyrillic
<<lessSYNOPSIS
use Convert::Cyr qw(chcp); $converted_string=chcp($string, $maxlen, $from, $to);
ABSTRACT
Convert::Cyr, chcp - change cyrillic code page of a text.
chcp takes as the first argument a string that is to be converted. It returns the converted string. Second argument is the lenght of the string. Third is source codepage. Forth is target codepage.
Original description from PHP function:
convert_cyr_string (string str, string from, string to) "This function returns the given string converted from one Cyrillic character set to another. The from and to arguments are single characters that represent the source and target Cyrillic character sets."
The supported types are: k - koi8-r w - windows-1251 i - iso8859-5 a - x-cp866 d - x-cp866 m - x-mac-cyrillic
Download (0.005MB)
Added: 2006-08-17 License: Perl Artistic License Price:
1164 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 tgz2deb
Convert tgz2deb adds convert tgz to deb to action menu on tgz packages. more>>
Convert tgz2deb adds "convert tgz to deb" to action menu on tgz packages.
<<less Download (MB)
Added: 2006-05-08 License: GPL (GNU General Public License) Price:
1308 downloads
Convert rpm2deb
Convert rpm2deb adds convert rpm to deb to action menu on rpm package. more>>
Convert rpm2deb adds "convert rpm to deb" to action menu on rpm package.
<<less Download (MB)
Added: 2006-05-08 License: GPL (GNU General Public License) Price:
779 downloads
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::UU 0.52
Convert::UU, uuencode, uudecode is a Perl module for uuencode and uudecode. more>>
Convert::UU is a Perl module for uuencode and uudecode.
SYNOPSIS
use Convert::UU qw(uudecode uuencode);
$encoded_string = uuencode($string,[$filename],[$mode]);
($string,$filename,$mode) = uudecode($string);
$string = uudecode($string); # in scalar context
uuencode() takes as the first argument a string that is to be uuencoded. Note, that it is the string that is encoded, not a filename. Alternatively a filehandle may be passed that must be opened for reading. It returns the uuencoded string including begin and end. Second and third argument are optional and specify filename and mode. If unspecified these default to "uuencode.uu" and 644.
uudecode() takes a string as argument which will be uudecoded. If the argument is a filehandle this handle will be read instead. If it is a reference to an ARRAY, the elements are treated like lines that form a string. Leading and trailing garbage will be ignored. The function returns the uudecoded string for the first begin/end pair. In array context it returns an array whose first element is the uudecoded string, the second is the filename and the third is the mode.
<<lessSYNOPSIS
use Convert::UU qw(uudecode uuencode);
$encoded_string = uuencode($string,[$filename],[$mode]);
($string,$filename,$mode) = uudecode($string);
$string = uudecode($string); # in scalar context
uuencode() takes as the first argument a string that is to be uuencoded. Note, that it is the string that is encoded, not a filename. Alternatively a filehandle may be passed that must be opened for reading. It returns the uuencoded string including begin and end. Second and third argument are optional and specify filename and mode. If unspecified these default to "uuencode.uu" and 644.
uudecode() takes a string as argument which will be uudecoded. If the argument is a filehandle this handle will be read instead. If it is a reference to an ARRAY, the elements are treated like lines that form a string. Leading and trailing garbage will be ignored. The function returns the uudecoded string for the first begin/end pair. In array context it returns an array whose first element is the uudecoded string, the second is the filename and the third is the mode.
Download (0.006MB)
Added: 2006-08-22 License: Perl Artistic License Price:
1161 downloads
GD::Convert 2.12
GD::Convert is a Perl module with additional output formats for GD. more>>
GD::Convert is a Perl module with additional output formats for GD.
SYNOPSIS
use GD;
use GD::Convert qw(gif=gif_netpbm newFromGif=newFromGif_imagemagick wbmp);
# or:
require GD::Convert;
import GD::Convert;
...
$gd->ppm;
$gd->xpm;
$gd->gif;
$gd->wbmp;
...
$gd = GD::Image->newFromPpmData(...);
$gd = GD::Image->newFromGif(...);
This module provides additional output methods for the GD module: ppm, xpm, wbmp, gif_netpbm and gif_imagemagick, and also additional constructors: newFromPpm, newFromPpmData, newFromGif_netpbm, newFromGifData_netpbm, newFromGif_imagemagick, newFromGifData_imagemagick.
The new methods go into the GD namespace.
For convenience, it is possible to set shorter names for the gif, newFromGif and newFromGifData methods by providing one of the following strings in the import list:
gif=gif_netpbm
newFromGif=newFromGif_netpbm
newFromGifData=newFromGifData_netpbm
Use external commands from netpbm to load and create GIF images.
gif=gif_imagemagick
newFromGif=newFromGif_imagemagick
newFromGifData=newFromGifData_imagemagick
Use external commands from imagemagick to load and create GIF images.
gif=any
newFromGif=any
newFromGifData=any
Use any of the above methods to load and create GIF images.
wbmp
Create wbmp images. Only necessary for GD before version 1.26, but it does not hurt if it is included with newer GD versions.
The new methods and constructors:
$ppmdata = $image->ppm
Take a GD image and return a string with a PPM file as its content.
$xpmdata = $image->xpm
Take a GD image and return a string with a XPM file as its content.
$gifdata = $image->gif_netpbm([...])
Take a GD image and return a string with a GIF file as its content. The conversion will use the ppmtogif binary from netpbm. Make sure that ppmtogif is actually in your PATH. If you specify gif=gif_netpbm in the use line, then you can use the method name gif instead.
The gif_netpbm handles the optional parameter -transparencyhack. If set to a true value, a transparent GIF file will be produced. Note that this will not work if the transparent color occurs also as a normal color.
$gifdata = $image->gif_imagemagick
This is the same as gif_netpbm, instead it is using the convert program of ImageMagick.
$image = GD::Image->newFromPpm($file, [$truecolor])
Create a GD image from the named ppm file or filehandle reference. Only raw ppm files (signature P6) are supported.
$image = GD::Image->newFromPpmData($data, [$truecolor])
Create a GD image from the data string containing ppm data. Only raw ppm files are supported.
$image = GD::Image->newFromGif_netpbm($file, [$truecolor]);
Create a GD image from the named file or filehandle reference using external netpbm programs.
$image = GD::Image->newFromGifData_netpbm($file, [$truecolor]);
Create a GD image from the data string using external netpbm programs.
$image = GD::Image->newFromGif_imagemagick($file, [$truecolor]);
Create a GD image from the named file or filehandle reference using external ImageMagick programs.
$image = GD::Image->newFromGifData_imagemagick($file, [$truecolor]);
Create a GD image from the data string using external ImageMagick programs.
You can set the variable $GD::Convert::DEBUG to a true value to get some information about external commands used while converting.
<<lessSYNOPSIS
use GD;
use GD::Convert qw(gif=gif_netpbm newFromGif=newFromGif_imagemagick wbmp);
# or:
require GD::Convert;
import GD::Convert;
...
$gd->ppm;
$gd->xpm;
$gd->gif;
$gd->wbmp;
...
$gd = GD::Image->newFromPpmData(...);
$gd = GD::Image->newFromGif(...);
This module provides additional output methods for the GD module: ppm, xpm, wbmp, gif_netpbm and gif_imagemagick, and also additional constructors: newFromPpm, newFromPpmData, newFromGif_netpbm, newFromGifData_netpbm, newFromGif_imagemagick, newFromGifData_imagemagick.
The new methods go into the GD namespace.
For convenience, it is possible to set shorter names for the gif, newFromGif and newFromGifData methods by providing one of the following strings in the import list:
gif=gif_netpbm
newFromGif=newFromGif_netpbm
newFromGifData=newFromGifData_netpbm
Use external commands from netpbm to load and create GIF images.
gif=gif_imagemagick
newFromGif=newFromGif_imagemagick
newFromGifData=newFromGifData_imagemagick
Use external commands from imagemagick to load and create GIF images.
gif=any
newFromGif=any
newFromGifData=any
Use any of the above methods to load and create GIF images.
wbmp
Create wbmp images. Only necessary for GD before version 1.26, but it does not hurt if it is included with newer GD versions.
The new methods and constructors:
$ppmdata = $image->ppm
Take a GD image and return a string with a PPM file as its content.
$xpmdata = $image->xpm
Take a GD image and return a string with a XPM file as its content.
$gifdata = $image->gif_netpbm([...])
Take a GD image and return a string with a GIF file as its content. The conversion will use the ppmtogif binary from netpbm. Make sure that ppmtogif is actually in your PATH. If you specify gif=gif_netpbm in the use line, then you can use the method name gif instead.
The gif_netpbm handles the optional parameter -transparencyhack. If set to a true value, a transparent GIF file will be produced. Note that this will not work if the transparent color occurs also as a normal color.
$gifdata = $image->gif_imagemagick
This is the same as gif_netpbm, instead it is using the convert program of ImageMagick.
$image = GD::Image->newFromPpm($file, [$truecolor])
Create a GD image from the named ppm file or filehandle reference. Only raw ppm files (signature P6) are supported.
$image = GD::Image->newFromPpmData($data, [$truecolor])
Create a GD image from the data string containing ppm data. Only raw ppm files are supported.
$image = GD::Image->newFromGif_netpbm($file, [$truecolor]);
Create a GD image from the named file or filehandle reference using external netpbm programs.
$image = GD::Image->newFromGifData_netpbm($file, [$truecolor]);
Create a GD image from the data string using external netpbm programs.
$image = GD::Image->newFromGif_imagemagick($file, [$truecolor]);
Create a GD image from the named file or filehandle reference using external ImageMagick programs.
$image = GD::Image->newFromGifData_imagemagick($file, [$truecolor]);
Create a GD image from the data string using external ImageMagick programs.
You can set the variable $GD::Convert::DEBUG to a true value to get some information about external commands used while converting.
Download (0.010MB)
Added: 2006-08-10 License: GPL (GNU General Public License) Price:
1173 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
convert2tifgrayscale
convert2tifgrayscale is a GIMP plugin that can batch convert to tif grayscale for Offset-Printing. more>>
convert2tifgrayscale is a GIMP plugin that can batch convert to tif grayscale for Offset-Printing.
Converts all images in a specified directory to grayscale, then uses unsharp mask and adjusts levels.
<<lessConverts all images in a specified directory to grayscale, then uses unsharp mask and adjusts levels.
Download (MB)
Added: 2006-08-16 License: GPL (GNU General Public License) Price:
1167 downloads
Convert::Scalar 1.03
Convert::Scalar is a Perl module that can convert between different representations of perl scalars. more>>
Convert::Scalar is a Perl module that can convert between different representations of perl scalars.
SYNOPSIS
use Convert::Scalar;
This module exports various internal perl methods that change the internal representation or state of a perl scalar. All of these work in-place, that is, they modify their scalar argument. No functions are exported by default.
The following export tags exist:
:utf8 all functions with utf8 in their name
:taint all functions with taint in their name
:refcnt all functions with refcnt in their name
:ok all *ok-functions.
utf8 scalar[, mode]
Returns true when the given scalar is marked as utf8, false otherwise. If the optional mode argument is given, also forces the interpretation of the string to utf8 (mode true) or plain bytes (mode false). The actual (byte-) content is not changed. The return value always reflects the state before any modification is done.
This function is useful when you "import" utf8-data into perl, or when some external function (e.g. storing/retrieving from a database) removes the utf8-flag.
utf8_on scalar
Similar to utf8 scalar, 1, but additionally returns the scalar (the argument is still modified in-place).
utf8_off scalar
Similar to utf8 scalar, 0, but additionally returns the scalar (the argument is still modified in-place).
utf8_valid scalar [Perl 5.7]
Returns true if the bytes inside the scalar form a valid utf8 string, false otherwise (the check is independent of the actual encoding perl thinks the string is in).
utf8_upgrade scalar
Convert the string content of the scalar in-place to its UTF8-encoded form (and also returns it).
utf8_downgrade scalar[, fail_ok=0]
Attempt to convert the string content of the scalar from UTF8-encoded to ISO-8859-1. This may not be possible if the string contains characters that cannot be represented in a single byte; if this is the case, it leaves the scalar unchanged and either returns false or, if fail_ok is not true (the default), croaks.
utf8_encode scalar
Convert the string value of the scalar to UTF8-encoded, but then turn off the SvUTF8 flag so that it looks like bytes to perl again. (Might be removed in future versions).
utf8_length scalar
Returns the number of characters in the string, counting wide UTF8 characters as a single character, independent of wether the scalar is marked as containing bytes or mulitbyte characters.
unmagic scalar, type
Remove the specified magic from the scalar (DANGEROUS!).
weaken scalar
Weaken a reference. (See also WeakRef).
taint scalar
Taint the scalar.
tainted scalar
returns true when the scalar is tainted, false otherwise.
untaint scalar
Remove the tainted flag from the specified scalar.
grow scalar, newlen
Sets the memory area used for the scalar to the given length, if the current length is less than the new value. This does not affect the contents of the scalar, but is only useful to "pre-allocate" memory space if you know the scalar will grow. The return value is the modified scalar (the scalar is modified in-place).
refcnt scalar[, newrefcnt]
Returns the current reference count of the given scalar and optionally sets it to the given reference count.
refcnt_inc scalar
Increments the reference count of the given scalar inplace.
refcnt_dec scalar
Decrements the reference count of the given scalar inplace. Use weaken instead if you understand what this function is fore. Better yet: dont use this module in this case.
refcnt_rv scalar[, newrefcnt]
Works like refcnt, but dereferences the given reference first. This is useful to find the reference count of arrays or hashes, which cnanot be passed directly. Remember that taking a reference of some object increases its reference count, so the reference count used by the *_rv-functions tend to be one higher.
refcnt_inc_rv scalar
Works like refcnt_inc, but dereferences the given reference first.
refcnt_dec_rv scalar
Works like refcnt_dec, but dereferences the given reference first.
ok scalar
uok scalar
rok scalar
pok scalar
nok scalar
niok scalar
Calls SvOK, SvUOK, SvROK, SvPOK, SvNOK or SvNIOK on the given scalar, respectively.
<<lessSYNOPSIS
use Convert::Scalar;
This module exports various internal perl methods that change the internal representation or state of a perl scalar. All of these work in-place, that is, they modify their scalar argument. No functions are exported by default.
The following export tags exist:
:utf8 all functions with utf8 in their name
:taint all functions with taint in their name
:refcnt all functions with refcnt in their name
:ok all *ok-functions.
utf8 scalar[, mode]
Returns true when the given scalar is marked as utf8, false otherwise. If the optional mode argument is given, also forces the interpretation of the string to utf8 (mode true) or plain bytes (mode false). The actual (byte-) content is not changed. The return value always reflects the state before any modification is done.
This function is useful when you "import" utf8-data into perl, or when some external function (e.g. storing/retrieving from a database) removes the utf8-flag.
utf8_on scalar
Similar to utf8 scalar, 1, but additionally returns the scalar (the argument is still modified in-place).
utf8_off scalar
Similar to utf8 scalar, 0, but additionally returns the scalar (the argument is still modified in-place).
utf8_valid scalar [Perl 5.7]
Returns true if the bytes inside the scalar form a valid utf8 string, false otherwise (the check is independent of the actual encoding perl thinks the string is in).
utf8_upgrade scalar
Convert the string content of the scalar in-place to its UTF8-encoded form (and also returns it).
utf8_downgrade scalar[, fail_ok=0]
Attempt to convert the string content of the scalar from UTF8-encoded to ISO-8859-1. This may not be possible if the string contains characters that cannot be represented in a single byte; if this is the case, it leaves the scalar unchanged and either returns false or, if fail_ok is not true (the default), croaks.
utf8_encode scalar
Convert the string value of the scalar to UTF8-encoded, but then turn off the SvUTF8 flag so that it looks like bytes to perl again. (Might be removed in future versions).
utf8_length scalar
Returns the number of characters in the string, counting wide UTF8 characters as a single character, independent of wether the scalar is marked as containing bytes or mulitbyte characters.
unmagic scalar, type
Remove the specified magic from the scalar (DANGEROUS!).
weaken scalar
Weaken a reference. (See also WeakRef).
taint scalar
Taint the scalar.
tainted scalar
returns true when the scalar is tainted, false otherwise.
untaint scalar
Remove the tainted flag from the specified scalar.
grow scalar, newlen
Sets the memory area used for the scalar to the given length, if the current length is less than the new value. This does not affect the contents of the scalar, but is only useful to "pre-allocate" memory space if you know the scalar will grow. The return value is the modified scalar (the scalar is modified in-place).
refcnt scalar[, newrefcnt]
Returns the current reference count of the given scalar and optionally sets it to the given reference count.
refcnt_inc scalar
Increments the reference count of the given scalar inplace.
refcnt_dec scalar
Decrements the reference count of the given scalar inplace. Use weaken instead if you understand what this function is fore. Better yet: dont use this module in this case.
refcnt_rv scalar[, newrefcnt]
Works like refcnt, but dereferences the given reference first. This is useful to find the reference count of arrays or hashes, which cnanot be passed directly. Remember that taking a reference of some object increases its reference count, so the reference count used by the *_rv-functions tend to be one higher.
refcnt_inc_rv scalar
Works like refcnt_inc, but dereferences the given reference first.
refcnt_dec_rv scalar
Works like refcnt_dec, but dereferences the given reference first.
ok scalar
uok scalar
rok scalar
pok scalar
nok scalar
niok scalar
Calls SvOK, SvUOK, SvROK, SvPOK, SvNOK or SvNIOK on the given scalar, respectively.
Download (0.006MB)
Added: 2006-08-02 License: Perl Artistic License Price:
1178 downloads
Time::Convert 0.5
Time::Convert is a Perl interface to converting unix seconds to years, days, hours and minutes. more>>
Time::Convert is a Perl interface to converting unix seconds to years, days, hours and minutes.
SYNOPSIS
use Time::Convert;
my $convert = new Time::Convert;
EXAMPLE
use Time::Convert;
my $convert = new Time::Convert;
$REPLY = $convert->ConvertSecs(time);
print($REPLY);
<<lessSYNOPSIS
use Time::Convert;
my $convert = new Time::Convert;
EXAMPLE
use Time::Convert;
my $convert = new Time::Convert;
$REPLY = $convert->ConvertSecs(time);
print($REPLY);
Download (0.002MB)
Added: 2006-08-10 License: Perl Artistic License Price:
1172 downloads
Convert::PEM 0.07
Convert::PEM is Perl module that read/write encrypted ASN.1 PEM files. more>>
Convert::PEM is Perl module that read/write encrypted ASN.1 PEM files.
SYNOPSIS
use Convert::PEM;
my $pem = Convert::PEM->new(
Name => "DSA PRIVATE KEY",
ASN => qq(
DSAPrivateKey SEQUENCE {
version INTEGER,
p INTEGER,
q INTEGER,
g INTEGER,
pub_key INTEGER,
priv_key INTEGER
}
));
my $pkey = $pem->read(
Filename => $keyfile,
Password => $pwd
);
$pem->write(
Content => $pkey,
Password => $pwd,
Filename => $keyfile
);
Convert::PEM reads and writes PEM files containing ASN.1-encoded objects. The files can optionally be encrypted using a symmetric cipher algorithm, such as 3DES. An unencrypted PEM file might look something like this:
-----BEGIN DH PARAMETERS-----
MB4CGQDUoLoCULb9LsYm5+/WN992xxbiLQlEuIsCAQM=
-----END DH PARAMETERS-----
The string beginning MB4C... is the Base64-encoded, ASN.1-encoded "object."
An encrypted file would have headers describing the type of encryption used, and the initialization vector:
-----BEGIN DH PARAMETERS-----
Proc-Type: 4,ENCRYPTED
DEK-Info: DES-EDE3-CBC,C814158661DC1449
AFAZFbnQNrGjZJ/ZemdVSoZa3HWujxZuvBHzHNoesxeyqqidFvnydA==
-----END DH PARAMETERS-----
The two headers (Proc-Type and DEK-Info) indicate information about the type of encryption used, and the string starting with AFAZ... is the Base64-encoded, encrypted, ASN.1-encoded contents of this "object."
The initialization vector (C814158661DC1449) is chosen randomly.
<<lessSYNOPSIS
use Convert::PEM;
my $pem = Convert::PEM->new(
Name => "DSA PRIVATE KEY",
ASN => qq(
DSAPrivateKey SEQUENCE {
version INTEGER,
p INTEGER,
q INTEGER,
g INTEGER,
pub_key INTEGER,
priv_key INTEGER
}
));
my $pkey = $pem->read(
Filename => $keyfile,
Password => $pwd
);
$pem->write(
Content => $pkey,
Password => $pwd,
Filename => $keyfile
);
Convert::PEM reads and writes PEM files containing ASN.1-encoded objects. The files can optionally be encrypted using a symmetric cipher algorithm, such as 3DES. An unencrypted PEM file might look something like this:
-----BEGIN DH PARAMETERS-----
MB4CGQDUoLoCULb9LsYm5+/WN992xxbiLQlEuIsCAQM=
-----END DH PARAMETERS-----
The string beginning MB4C... is the Base64-encoded, ASN.1-encoded "object."
An encrypted file would have headers describing the type of encryption used, and the initialization vector:
-----BEGIN DH PARAMETERS-----
Proc-Type: 4,ENCRYPTED
DEK-Info: DES-EDE3-CBC,C814158661DC1449
AFAZFbnQNrGjZJ/ZemdVSoZa3HWujxZuvBHzHNoesxeyqqidFvnydA==
-----END DH PARAMETERS-----
The two headers (Proc-Type and DEK-Info) indicate information about the type of encryption used, and the string starting with AFAZ... is the Base64-encoded, encrypted, ASN.1-encoded contents of this "object."
The initialization vector (C814158661DC1449) is chosen randomly.
Download (0.020MB)
Added: 2006-08-17 License: Perl Artistic License Price:
1169 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::Wiki 0.05
Convert::Wiki is a Perl module that can convert HTML/POD/txt from/to Wiki code. more>>
Convert::Wiki is a Perl module that can convert HTML/POD/txt from/to Wiki code.
SYNOPSIS
use Convert::Wiki;
my $wiki = Convert::Wiki->new();
$wiki->from_txt ( $txt );
die ("Error: " . $wiki->error()) if $wiki->error;
print $wiki->as_wiki();
$wiki->from_html ( $html );
die ("Error: " . $wiki->error()) if $wiki->error;
print $wiki->as_wiki();
# clear the object manually
$wiki->clear();
$wiki->add_txt ( $txt );
die ("Error: " . $wiki->error()) if $wiki->error;
print $wiki->as_wiki();
Convert::Wiki converts from various formats to various Wiki formats.
Input can come as HTML, POD or plain TXT (like it is written in many READMEs). The data will be converted to an internal, node based format and can then be converted to Wikicode as used by many wikis like the Wikipedia.
<<lessSYNOPSIS
use Convert::Wiki;
my $wiki = Convert::Wiki->new();
$wiki->from_txt ( $txt );
die ("Error: " . $wiki->error()) if $wiki->error;
print $wiki->as_wiki();
$wiki->from_html ( $html );
die ("Error: " . $wiki->error()) if $wiki->error;
print $wiki->as_wiki();
# clear the object manually
$wiki->clear();
$wiki->add_txt ( $txt );
die ("Error: " . $wiki->error()) if $wiki->error;
print $wiki->as_wiki();
Convert::Wiki converts from various formats to various Wiki formats.
Input can come as HTML, POD or plain TXT (like it is written in many READMEs). The data will be converted to an internal, node based format and can then be converted to Wikicode as used by many wikis like the Wikipedia.
Download (0.019MB)
Added: 2006-08-04 License: Perl Artistic License Price:
1176 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
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 converts 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