Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    
    my $cookie = cookie( -name => 'test', -value => 'tset' );
    print redirect( -uri => '/', -cookie => $cookie );