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

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

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.

--
Allolex


In reply to Props for Perl's regular expressions by allolex
in thread How to Teach Perl to Scholars in the Humanities by cyocum

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-04-25 16:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found