Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    use diagnostics;
    
  2. or download this
    open (HANDLE, ">/path/to/file")
      or die "Cannot open: $!\n"
    
  3. or download this
    open (COUNTING, ">/path/to/counter.txt")
      or die "Cannot open: $!\n";
    print COUNTING $myvar;
    close COUNTING;
    
  4. or download this
    my $query = CGI->new;
    print header(), 
    ...
                             -author=>'you@domain.com',
                             -base=>'true'
                             -background=>'#7fb6bb');