Skip to main content
Springer Nature Link
Log in
Menu
Find a journal Publish with us Track your research
Search
Cart
  1. Home
  2. Behavior Research Methods, Instruments, & Computers
  3. Article

Tutorial: Perl, a psychologically efficient reformatting language

  • Published: December 1998
  • Volume 30, pages 605–609, (1998)
  • Cite this article
Download PDF
Behavior Research Methods, Instruments, & Computers Aims and scope Submit manuscript
Tutorial: Perl, a psychologically efficient reformatting language
Download PDF
  • Alan Schwartz1 
  • 732 Accesses

  • 4 Altmetric

  • Explore all metrics

Abstract

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.

Article PDF

Download to read the full article text

Similar content being viewed by others

Advanced Features

Chapter © 2020

First Foray into Text Analysis with R

Chapter © 2020

Beyond lexical frequencies: using R for text analysis in the digital humanities

Article 08 April 2019

Explore related subjects

Discover the latest articles and news from researchers in related subjects, suggested using machine learning.
  • Computational Linguistics
  • Language Processing
  • Lisp
  • Perl
  • Programming Techniques
  • Psychological Methods
Use our pre-submission checklist

Avoid common mistakes on your manuscript.

References

  • Psychology Software Tools, Inc. (1997).MEL Professional [Computer software]. Pittsburgh: Author.

    Google Scholar 

  • SAS Institute (1996).SAS [Computer software]. Cary, NC: Author.

    Google Scholar 

  • Schwartz, R. L., &Christiansen, T. (1997).Learning perl (2nd ed.). Sebastopol, CA: O’Reilly & Associates.

    Google Scholar 

  • Srinivasan, S. (1997).Advanced perl programming. Sebastopol: O’Reilly & Associates.

    Google Scholar 

  • Wall, L. (1986).Perl [Computer programming language]. Pasadena, CA: Author.

    Google Scholar 

  • Wall, L., Christiansen, T., &Schwartz, R. L. (1996).Programming perl (2nd ed.). Sebastopol, CA: O’Reilly & Associates.

    Google Scholar 

Download references

Author information

Authors and Affiliations

  1. Department of Medical Education (m/c 591), University of Illinois, 808 S. Wood Street, 986 CME, 60612-7309, Chicago, IL

    Alan Schwartz

Authors
  1. Alan Schwartz
    View author publications

    You can also search for this author inPubMed Google Scholar

Corresponding author

Correspondence to Alan Schwartz.

Additional information

Alan Cooke provided helpful comments on a draft of this article.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Schwartz, A. Tutorial: Perl, a psychologically efficient reformatting language. Behavior Research Methods, Instruments, & Computers 30, 605–609 (1998). https://doi.org/10.3758/BF03209477

Download citation

  • Received: 06 October 1997

  • Accepted: 15 December 1997

  • Issue Date: December 1998

  • DOI: https://doi.org/10.3758/BF03209477

Share this article

Anyone you share the following link with will be able to read this content:

Sorry, a shareable link is not currently available for this article.

Provided by the Springer Nature SharedIt content-sharing initiative

Keywords

  • Pattern Match
  • Regular Expression
  • Perl Script
  • Text Processing
  • Psychology Software Tool
Use our pre-submission checklist

Avoid common mistakes on your manuscript.

Advertisement

Search

Navigation

  • Find a journal
  • Publish with us
  • Track your research

Discover content

  • Journals A-Z
  • Books A-Z

Publish with us

  • Journal finder
  • Publish your research
  • Open access publishing

Products and services

  • Our products
  • Librarians
  • Societies
  • Partners and advertisers

Our brands

  • Springer
  • Nature Portfolio
  • BMC
  • Palgrave Macmillan
  • Apress
  • Discover
  • Your US state privacy rights
  • Accessibility statement
  • Terms and conditions
  • Privacy policy
  • Help and support
  • Legal notice
  • Cancel contracts here

62.171.150.19

Not affiliated

Springer Nature

© 2025 Springer Nature