Help for this page

Select Code to Download


  1. or download this
    #-------------------EXAMPLE OF SETTING A COOKIE-----------------------
    +----
    #!/usr/bin/perl
    ...
    print "$cookie\n";
    print "Content-type: text/html\n\n";
    print "Have we a cookie?????\n";
    
  2. or download this
    #-------------------EXAMPLE OF GETTING A VALUE FROM A COOKIE----------
    +----
    #!/usr/bin/perl
    ...
        {
         print "Somebody toss me a freakin' cookie....";
        }
    
  3. or download this
    #-------------------EXAMPLE OF REMOVING A COOKIE----------------------
    +----
    #!/usr/bin/perl
    ...
    print "$cookie\n";
    print "Content-type: text/html\n\n";
    print "Have we removed a cookie?????\n";
    
  4. or download this
    #-------------------ROUTINE FILE STARTS HERE--------------------------
    +----
    #
    ...
    # usual kluge so require does not fail....
         my $XyZ=1;
    #-------------------ROUTINE FILE ENDS HERE----------------------------
    +----