convert varchar to date
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 2104
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::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::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 Video To Nokia 5800 and others 0.1
Easily convert videos to a Nokia 5800XM mobile phone more>>
Convert Video To Nokia 5800 and others 0.1 is created as a simple service menu entry to easily convert videos to a Nokia 5800XM mobile phone using ffmpeg or convert the files to mpeg4 with aac.
Installation note:
- The default folder to put the file is/home/user/.kde/share/kde4/services/ServiceMenus (for user specific)or/usr/share/kde4/services/ServiceMenus (for system wide). If for some reason your folders are different use command kde4-config --path services to find out the right folders.
- You can easily change the ffmpeg command just by opening the file with a text editor. Currently the command is:ffmpeg -i %u -f mp4 -vcodec mpeg4 -r 30 -b 2200k -s 640x360 -acodec libfaac -r 32000 -ab 128k -ac 2 -async 1 %u.mp4
Requirements:
- KDE
Added: 2009-07-07 License: GPL Price: FREE
12 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::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::Binary::C 0.64
Convert::Binary::C is a Binary Data Conversion using C Types. more>>
Convert::Binary::C is a Binary Data Conversion using C Types.
SYNOPSIS
Simple
use Convert::Binary::C;
#---------------------------------------------
# Create a new object and parse embedded code
#---------------------------------------------
my $c = Convert::Binary::C->new->parse( DEC, day => 24 };
my $packed = $c->pack( Date, $date );
Advanced
use Convert::Binary::C;
use Data::Dumper;
#---------------------
# Create a new object
#---------------------
my $c = new Convert::Binary::C ByteOrder => BigEndian;
#---------------------------------------------------
# Add include paths and global preprocessor defines
#---------------------------------------------------
$c->Include( /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include,
/usr/include )
->Define( qw( __USE_POSIX __USE_ISOC99=1 ) );
#----------------------------------
# Parse the time.h header file
#----------------------------------
$c->parse_file( time.h );
#---------------------------------------
# See which files the object depends on
#---------------------------------------
print Dumper( [$c->dependencies] );
#-----------------------------------------------------------
# See if struct timespec is defined and dump its definition
#-----------------------------------------------------------
if( $c->def( struct timespec ) ) {
print Dumper( $c->struct( timespec ) );
}
#-------------------------------
# Create some binary dummy data
#-------------------------------
my $data = "binaryteststring";
#--------------------------------------------------------
# Unpack $data according to struct timespec definition
#--------------------------------------------------------
if( length($data) >= $c->sizeof( timespec ) ) {
my $perl = $c->unpack( timespec, $data );
print Dumper( $perl );
}
#--------------------------------------------------------
# See which member lies at offset 5 of struct timespec
#--------------------------------------------------------
my $member = $c->member( timespec, 5 );
print "member( timespec, 5 ) = $membern";
Convert::Binary::C is a preprocessor and parser for C type definitions. It is highly configurable and should support arbitrarily complex data structures. Its object-oriented interface has pack and unpack methods that act as replacements for Perls pack and unpack and allow to use the C types instead of a string representation of the data structure for conversion of binary data from and to Perls complex data structures.
Actually, what Convert::Binary::C does is not very different from what a C compiler does, just that it doesnt compile the source code into an object file or executable, but only parses the code and allows Perl to use the enumerations, structs, unions and typedefs that have been defined within your C source for binary data conversion, similar to Perls pack and unpack.
Beyond that, the module offers a lot of convenience methods to retrieve information about the C types that have been parsed.
<<lessSYNOPSIS
Simple
use Convert::Binary::C;
#---------------------------------------------
# Create a new object and parse embedded code
#---------------------------------------------
my $c = Convert::Binary::C->new->parse( DEC, day => 24 };
my $packed = $c->pack( Date, $date );
Advanced
use Convert::Binary::C;
use Data::Dumper;
#---------------------
# Create a new object
#---------------------
my $c = new Convert::Binary::C ByteOrder => BigEndian;
#---------------------------------------------------
# Add include paths and global preprocessor defines
#---------------------------------------------------
$c->Include( /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include,
/usr/include )
->Define( qw( __USE_POSIX __USE_ISOC99=1 ) );
#----------------------------------
# Parse the time.h header file
#----------------------------------
$c->parse_file( time.h );
#---------------------------------------
# See which files the object depends on
#---------------------------------------
print Dumper( [$c->dependencies] );
#-----------------------------------------------------------
# See if struct timespec is defined and dump its definition
#-----------------------------------------------------------
if( $c->def( struct timespec ) ) {
print Dumper( $c->struct( timespec ) );
}
#-------------------------------
# Create some binary dummy data
#-------------------------------
my $data = "binaryteststring";
#--------------------------------------------------------
# Unpack $data according to struct timespec definition
#--------------------------------------------------------
if( length($data) >= $c->sizeof( timespec ) ) {
my $perl = $c->unpack( timespec, $data );
print Dumper( $perl );
}
#--------------------------------------------------------
# See which member lies at offset 5 of struct timespec
#--------------------------------------------------------
my $member = $c->member( timespec, 5 );
print "member( timespec, 5 ) = $membern";
Convert::Binary::C is a preprocessor and parser for C type definitions. It is highly configurable and should support arbitrarily complex data structures. Its object-oriented interface has pack and unpack methods that act as replacements for Perls pack and unpack and allow to use the C types instead of a string representation of the data structure for conversion of binary data from and to Perls complex data structures.
Actually, what Convert::Binary::C does is not very different from what a C compiler does, just that it doesnt compile the source code into an object file or executable, but only parses the code and allows Perl to use the enumerations, structs, unions and typedefs that have been defined within your C source for binary data conversion, similar to Perls pack and unpack.
Beyond that, the module offers a lot of convenience methods to retrieve information about the C types that have been parsed.
Download (1.3MB)
Added: 2006-07-05 License: Perl Artistic License Price:
1208 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::ASCII::Armor 1.4
Convert::ASCII::Armor is a Perl module that can convert binary octets into ASCII armoured messages. more>>
Convert::ASCII::Armor is a Perl module that can convert binary octets into ASCII armoured messages.
SYNOPSIS
See SYNOPSIS in Convert::ASCII::Armour.
Empty subclass of Convert::ASCII::Armour for American English speakers.
<<lessSYNOPSIS
See SYNOPSIS in Convert::ASCII::Armour.
Empty subclass of Convert::ASCII::Armour for American English speakers.
Download (0.006MB)
Added: 2006-08-04 License: Perl Artistic License Price:
1182 downloads
Date::Convert::French_Rev 0.05
Date::Convert::French_Rev can convert from / to French Revolutionary Calendar. more>>
Date::Convert::French_Rev can convert from / to French Revolutionary Calendar.
SYNOPSIS
use Date::Convert::French_Rev;
Converting from Gregorian (or other) to Revolutionary
$date=new Date::Convert::Gregorian(1799, 11, 9);
convert Date::Convert::French_Rev $date;
print $date->date_string, "n";
print $date->date_string($format), "n";
Converting from Revolutionary to Gregorian (or other)
$date=new Date::Convert::French_Rev(8, 2, 18);
convert Date::Convert::Gregorian $date;
print $date->date_string, "n";
<<lessSYNOPSIS
use Date::Convert::French_Rev;
Converting from Gregorian (or other) to Revolutionary
$date=new Date::Convert::Gregorian(1799, 11, 9);
convert Date::Convert::French_Rev $date;
print $date->date_string, "n";
print $date->date_string($format), "n";
Converting from Revolutionary to Gregorian (or other)
$date=new Date::Convert::French_Rev(8, 2, 18);
convert Date::Convert::Gregorian $date;
print $date->date_string, "n";
Download (0.036MB)
Added: 2006-08-02 License: Perl Artistic License Price:
1178 downloads
Convert::Braille 0.05
Convert::Braille is a Perl module that can convert Between Braille Encodings. more>>
Convert::Braille is a Perl module that can convert Between Braille Encodings.
SYNOPSIS
use Convert::Braille;
print brailleAsciiToUnicode ( "HELLO" ), "n";
print brailleDotsToAscii ( "12515123123135" ), "n";
EXPORTS
brailleDotsToUnicode
brailleUnicodeToDots
brailleUnicodeToAscii
brailleAsciiToUnicode
brailleAsciiToDots
brailleDotsToAscii
<<lessSYNOPSIS
use Convert::Braille;
print brailleAsciiToUnicode ( "HELLO" ), "n";
print brailleDotsToAscii ( "12515123123135" ), "n";
EXPORTS
brailleDotsToUnicode
brailleUnicodeToDots
brailleUnicodeToAscii
brailleAsciiToUnicode
brailleAsciiToDots
brailleDotsToAscii
Download (0.008MB)
Added: 2006-08-04 License: Perl Artistic License Price:
1177 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
Convert::yEnc::RC 1.02
Convert::yEnc::RC is a Perl module for yEnc file-part database. more>>
Convert::yEnc::RC is a Perl module for yEnc file-part database.
SYNOPSIS
use Convert::yEnc::RC;
$rc = new Convert::yEnc::RC;
$rc = new Convert::yEnc::RC $file;
$ok = $rc->load;
$ok = $rc->load($file);
$ok = $rc->update ($line);
@files = $rc->files;
@complete = $rc->complete;
$complete = $rc->complete($fileName);
$entry = $rc->entry ($fileName);
$ok = $rc->drop ($fileName);
$rc->save;
$rc->save($file);
ABSTRACT
yEnc file-part database
A Convert::yEnc::RC object manages a database of yEnc file parts.
Applications pass the =ybegin, =ypart, and =yend lines from yEncoded files to the object, and it keeps track of the files, parts and bytes as they are received. The object reports errors if the sequence of =y lines is inconsistent.
Applications can query the object to find out what files, parts, and bytes have been received, and whether a given file is complete.
The database can be be saved to and restored from disk.
<<lessSYNOPSIS
use Convert::yEnc::RC;
$rc = new Convert::yEnc::RC;
$rc = new Convert::yEnc::RC $file;
$ok = $rc->load;
$ok = $rc->load($file);
$ok = $rc->update ($line);
@files = $rc->files;
@complete = $rc->complete;
$complete = $rc->complete($fileName);
$entry = $rc->entry ($fileName);
$ok = $rc->drop ($fileName);
$rc->save;
$rc->save($file);
ABSTRACT
yEnc file-part database
A Convert::yEnc::RC object manages a database of yEnc file parts.
Applications pass the =ybegin, =ypart, and =yend lines from yEncoded files to the object, and it keeps track of the files, parts and bytes as they are received. The object reports errors if the sequence of =y lines is inconsistent.
Applications can query the object to find out what files, parts, and bytes have been received, and whether a given file is complete.
The database can be be saved to and restored from disk.
Download (0.055MB)
Added: 2006-08-18 License: Perl Artistic License Price:
1166 downloads
Convert::Cyrillic 1.05
Convert::Cyrillic is a Perl module with routines for converting from one cyrillic charset to another. more>>
Convert::Cyrillic is a Perl module with routines for converting from one cyrillic charset to another.
SYNOPSIS
use Convert::Cyrillic;
$src = koi8;
$dst = win;
$SrcBuf = text in koi8 here;
$DstBuf = Convert::Cyrillic::cstocs ($Src, $Dst, $SrcBuf);
This package implements routine for converting from one cyrillic charset to another. It is intended to be used from cgis which need built-in support for translations. For example, you may wish to use it in form processor to translate from user encoding to one used by your site.
Where $Src and $Dst are one of:
KOI8 - for KOI8-R
WIN - for WIN-1251
DOS - for DOS, alternative, CP-866
MAC - for Macintosh
ISO - for ISO-8859-5
UTF-8 - for UTF-8 (Unicode)
VOL - for Volapuk (transliteration)
Buffer may contain line breaks, which are preserved.
<<lessSYNOPSIS
use Convert::Cyrillic;
$src = koi8;
$dst = win;
$SrcBuf = text in koi8 here;
$DstBuf = Convert::Cyrillic::cstocs ($Src, $Dst, $SrcBuf);
This package implements routine for converting from one cyrillic charset to another. It is intended to be used from cgis which need built-in support for translations. For example, you may wish to use it in form processor to translate from user encoding to one used by your site.
Where $Src and $Dst are one of:
KOI8 - for KOI8-R
WIN - for WIN-1251
DOS - for DOS, alternative, CP-866
MAC - for Macintosh
ISO - for ISO-8859-5
UTF-8 - for UTF-8 (Unicode)
VOL - for Volapuk (transliteration)
Buffer may contain line breaks, which are preserved.
Download (0.024MB)
Added: 2006-08-23 License: Perl Artistic License Price:
1166 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
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 varchar to date 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