---
description_paragraphs: 4
description: |-
 'WWW::Mechanize', or Mech for short, is a Perl module for stateful
 programmatic web browsing, used for automating interaction with websites.
 
 Features include:
 
 * All HTTP methods
 * High-level hyperlink and HTML form support, without having to parse
   HTML yourself
 * SSL support
 * Automatic cookies
 * Custom HTTP headers
 * Automatic handling of redirections
 * Proxies
 * HTTP authentication
 
 Mech is well suited for use in testing web applications. If you use one of
 the Test::*, like Test::HTML::Lint modules, you can check the fetched
 content and use that as input to a test call.
#no_testing: broken upstream
#sources:
#  - source1
#  - source2
#patches:
#  foo.patch: -p1
#  bar.patch:
# BuildRequires:  gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s,  *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL 
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module
