Running a Perl Program
 
Perl Installation At FSC
  • Perl 5.004 is installed in K:\PERL
     
  • Everyone has read-only access to it
     
  • Documentation is at K:\PERL\DOCS, or http://advisor.fsc.follett.com/perl/docs
     
  • Development Unit should follow their own set of rules for using Perl.
Environment Variables
  • PATH needs to include K:\PERL\BIN
     
  • PERLLIB should be .;k:\perl\lib;k:\perl\site\lib
From the command line
  • General format
    perl programname.pl -parm1 -parm2 datafile1 datafile2
     
  • Example
    perl snapcust.pl -n=1000 data/fs?-cust.txt
What happens
  • Compiled internally into pcode
     
  • Pcode gets executed
     
  • Perl doesn't create .EXEs.
Index
Introduction
What Is Perl?
Perl Resources
Running a Perl Program
Perl Thinking
Data Types
Scalars
Strings: Single Quoted
Strings: Double Quoted
Scalar operations
Scalar comparisons
Variables
Lists
Using Lists
Control Structures
Hashes
Hash Manipulation
File Handling
Regex Matching
Regex Matching: Ex. 1
Regex Matching: Ex. 2
Regex Replacing
Subroutines
Anonymous subs
References
Structures
Modules
Modules: File::Find
Modules: Internet
Modules: Win32::*
Everything Else
  Next page >>>