Help for this page

Select Code to Download


  1. or download this
        $main::cookie_name = $cgi->param('cookie_name');
        $main::full_url = $ENV{SERVER_URL} . $ENV{SCRIPT_NAME};
    ...
        $main::domain ||= '.mybc.com';
        $main::path ||= '/';
        $main::cookie_value ||= 'na';
    
  2. or download this
        $main::cookie_value ||= 'na';
    
  3. or download this
        my $cookie = $cgi->cookie(
            -name   => $main::cookie_name,
    ...
            -path   => $main::path,
            -domain => $main::domain,
        );
    
  4. or download this
        sub set_cookie {
            my $cgi = shift;
    ...
                exit;
            }
        }
    
  5. or download this
        sub remove_cookie {
            my $cgi = shift;
    ...
                exit;
            }
        }
    
  6. or download this
            my ($r_html_table, $r_html_select) = @{$_[0]}{qw(html_table ht
    +ml_select)};
    
  7. or download this
        sub parse_all_cookies {
            my ($r_html_table, $r_html_select) = @{$_[0]}{qw(html_table ht
    +ml_select)};
    ...
    
            $$r_html_table .= "</table>";
        }
    
  8. or download this
        my ($html_cookie_table, $html_cookie_select);
        parse_all_cookies({
            html_table => \$html_cookie_table,
            html_select => \$html_cookie_select,
        });
    
  9. or download this
        use HTML::Entities;
    
    ...
            $table .= "</table>";
            return ( $table, $select );
        }