Tutorial: Perl, a psychologically efficient reformatting language

  • Alan SchwartzEmail author


Psychologists are often faced with the need to manipulate one or more files, either to modify the format or to extract specific information. Traditionally, these manipulations have been performed using programming languages or statistical software, but such solutions are often expensive, platform dependent, or limited in their ability to handle both numerical and textual data. This tutorial introduces the perl programming language, a free, platform-independent language that excels at pattern matching and text processing but that is also numerically capable. A running example illustrates an application of perl to psychological data.


Pattern Match Regular Expression Perl Script Text Processing Psychology Software Tool 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


  1. Psychology Software Tools, Inc. (1997).MEL Professional [Computer software]. Pittsburgh: Author.Google Scholar
  2. SAS Institute (1996).SAS [Computer software]. Cary, NC: Author.Google Scholar
  3. Schwartz, R. L., &Christiansen, T. (1997).Learning perl (2nd ed.). Sebastopol, CA: O’Reilly & Associates.Google Scholar
  4. Srinivasan, S. (1997).Advanced perl programming. Sebastopol: O’Reilly & Associates.Google Scholar
  5. Wall, L. (1986).Perl [Computer programming language]. Pasadena, CA: Author.Google Scholar
  6. Wall, L., Christiansen, T., &Schwartz, R. L. (1996).Programming perl (2nd ed.). Sebastopol, CA: O’Reilly & Associates.Google Scholar

Copyright information

© Psychonomic Society, Inc 1998

Authors and Affiliations

  1. 1.Department of Medical Education (m/c 591)University of IllinoisChicago

Personalised recommendations