Convert::Morse 0.04
Sponsored Links
Convert::Morse 0.04 Ranking & Summary
File size:
0.006 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
5662
Date added:
2006-08-02
Publisher:
Convert::Morse Team
Publisher URL:
http://search.cpan.org/~t
Convert::Morse 0.04 description
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().
Limitations:
· Can not yet do Japanese code nor German Umlaute.
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().
Limitations:
· Can not yet do Japanese code nor German Umlaute.
Convert::Morse 0.04 Screenshot
Sponsored Links
Convert::Morse 0.04 Keywords
Morse 0.04
ConvertMorse
ASCII text
text
print
convert
package
input
case
Convert::Morse 0.04
Libraries
Programming
Bookmark Convert::Morse 0.04
Convert::Morse 0.04 Copyright
WareSeeker periodically updates pricing and software information of Convert::Morse 0.04 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Convert::Morse 0.04 Edition. 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
Convert::Morse 0.04 Related Software
Convert tgz2deb adds "convert tgz to deb" to action menu on tgz packages.
Convert rpm2deb adds "convert rpm to deb" to action menu on rpm package.
CWBot is an IRC bot to provide online services in Morse usable with the CWirc client.
CWirc is a plugin for the X-Chat IRC client to transmit raw Morse code over the internet using IRC servers as reflectors.
Cwdaemon is a small daemon which uses the pc parallel or serial port and a simple transistor switch to output morse code.
Convert::GeekCode is a Perl module that can convert and generate geek code sequences.
Convert::EastAsianWidth is a Perl module that can convert between full- and half-width characters.
Convert::AcrossLite is a Perl module to convert binary AcrossLite puzzle files to text.
My Software
You have not saved any software. Click "Save" next to each software to save it to your software basket
Related Information
Sponsored Links
TOP POPULAR DOWNLOAD