Help for this page

Select Code to Download


  1. or download this
    #!/bin/sh
    #... intervening code ...
    export CountDataLines = `perl -e 'while(<>){/^\s*</ or $notXML++;} pri
    +nt $notXML;' < $FileName`
    
  2. or download this
    my %gdd; Init( \%gdd)
    
  3. or download this
    sub Init
        #example of using a reference to a unique global dictionary
    ...
        my $lh = $gref -> { FH }{ LOGFILE };
        print $lh MyTimeStamp() . ": $msg\n";
    }