The Medical University of South Carolina
Discovering...Understanding...Healing...

User

Creative Commons License

Basic Perl

  • Basic structure
    • use strict, warnings. Always.
  • Syntax
    • Variables (scalar and array, maybe associative arrays)
    • Assignment (=, " v/s ', { v/s ( v/s [ )
    • Blocks, functions
  • Functions
    • print
    • if
    • while
    • for
  • File and command line manipulations
    • ARGV
    • STDIN
    • while <>

    • open, close, print, filehandles.
  • String manipulation
    • substr
    • m/// (matching)
    • s/// (substitution)
    • tr/// (translate)

References

CarcWiki: Documentation/WorkingDocs/PerlBySatya (last edited 2006-02-03 11:53:30 by SatyajitPhanse)

171 Ashley Avenue · Charleston SC 29425 · (843) 792-2300