Help for this page

Select Code to Download


  1. or download this
    package MultipartFilter;
    
    use v5.12;
    ...
    }
    
    1;
    
  2. or download this
    #!/usr/bin/perl
    
    use v5.12;
    ...
    say "*** multi-part response ***";
    $resp=$ua->get("http://localhost/~alex/files/server-push/push-server.c
    +gi");
    say $resp->as_string();
    
  3. or download this
    #!/usr/bin/perl
    
    use v5.12;
    ...
        "Content-Type: text/plain\r\n",
        "\r\n",
        "Hello World!\r\n";
    
  4. or download this
    #!/usr/bin/perl
    
    use v5.12;
    ...
    }
    print
        "--$boundary--\r\n";
    
  5. or download this
    MultipartFilter->hookInto($browser,
        onDocument => sub {
    ...
            $twig->parse($part->content());
        }
    );