Help for this page

Select Code to Download


  1. or download this
    open my $FH, '>', 'afile.pl';
    print $FH <<EOHDR;
    ...
        elsif (/^FOO/) { print $FH, "something completely different" }
        elsif (/^Q/) { last; }
    }
    
  2. or download this
    my $SCRIPT = <<EOHDR
    Some header stuff
    EOHDR;
    
    $SCRIPT .= "More script stuff";