Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl
    
    ...
    
    close $out_fh;
    
  2. or download this
    # Verify that there are no duplicates.
    perl -nE 'say $_ if $seen{$_}++;' testfile.txt
    ...
    # Verify that we only have digits between a..z and 3, 4, 6, 7, 9.
    perl -nE 'say "$. : $_" if m/[^a-z34679\n]/' testfile.txt
    # We want no output.
    
  3. or download this
    package CodeGenerator;
    
    ...
    
    
    close $out_fh;