Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: Morse::Code

by tadman (Prior)
on Apr 17, 2001 at 00:47 UTC ( [id://72939]=note: print w/replies, xml ) Need Help??


in reply to Re: Morse::Code
in thread Morse::Code

This visualization actually might simplify the coding of a morse code converter (i.e. Perl Golf?). I read about it in "Code" (Microsoft Press, but perhaps out of print) and found it to be an intriguing way to visualize Morse code. It enables you to write a simple state machine instead of a more complex pattern matcher.

BTW, tr doesn't require set brackets, but including them would just harmlessly convert them to same, right?     tr/[a-z]/[A-Z]/ Is theoretically equivalent to:     tr/[]a-z/[]A-Z/ Which is much like:     tr/[]/[]/; tr/a-z/A-Z/ Right? Although you would probably use uc instead.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://72939]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2024-03-28 13:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found