Help for this page

Select Code to Download


  1. or download this
    my ($status, $content, $type, $base, $length)
        = get_page($site);
    ...
            }
            return $status, $content, $type, $base, $length;
    }
    
  2. or download this
    my %pi;
    @%pi{qw(status content type base length))
    ...
                 $response->base,
                 commify(length($content));
    }
    
  3. or download this
    my %pi;
    get_page($site, \%pi);
    ...
                    die "\nError: $status ($site)\n";
            }
    }
    
  4. or download this
    my %pi;
    get_page($site, \%pi);
    ...
            );
            return;
    }