Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Props for Perl's regular expressions

by allolex (Curate)
on Jan 30, 2004 at 22:58 UTC ( #325442=note: print w/replies, xml ) Need Help??

in reply to How to Teach Perl to Scholars in the Humanities

You've received some excellent responses here, but I wanted to tell you about about my own efforts in this area.

I'm in the Department of Romance Philology at my University and the one thing that has gotten the linguists in our department all excited is the power of regular expressions. Regexen are central to a lot of what so many Perl programmers do with the language. As a matter of fact, Perl's regular expression support is so well-developed that many other languages and tools use "Perl compatible" regular expression engines. Regular expressions are even useful for non-programmers and lead logically into simple substitution scripts for your next step in converting your flock.

One such program that is used often in linguistics and literature departments is Monoconc (a concordancer). Even word processors like OpenOffice Writer or Microsoft Word support regular expressions in one form or another.

The advantage to this approach for you is that you teach them something that is immediately useful on a practical level, but which has a solid theoretical foundation, all without sacrificing necessary detail by taking a too broad approach towards introducing them to Perl.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://325442]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2018-03-25 05:48 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (300 votes). Check out past polls.