[BNE-PM] What do you use Perl for?

Derek Thomson derek at wedgetail.com
Mon Aug 19 02:44:32 CDT 2002


Hi,

Just for the sake of starting a thread, I want to get some idea of what 
everyone is using Perl for in their workaday existences.

I use Perl for everything I can, so I'll just pick the most interesting.

I am implementing a C SSL toolkit for embedded systems. I generate the 
SSL presentation layer C code that reads and writes specific SSL 
handshake messages directly from the SSL specification with a Perl program.

The SSL spec has it's own simple language for describing the message 
format, so it's simply a matter of parsing that and then writing out 
corresponding C data structures and functions. This way I can easily 
cope with changes to message formats, and add new messages for 
supporting different SSL versions easily.

It also means I can generate "Dump" functions for each message type that 
  output an SSL message in a very nicely formatted and indented way - 
much more readable than the hex dumps you get with other SSL packages.

To do this I use the unbelievably wonderful Parser::RecDescent module 
from CPAN (http://www.cpan.org).

--
D.




More information about the Brisbane-pm mailing list