# man > MECH-DUMP(1p)

[MECH-DUMP(1p)](https://www.chedong.com/phpMan.php/man/MECH-DUMP/1p/markdown)                    User Contributed Perl Documentation                   [MECH-DUMP(1p)](https://www.chedong.com/phpMan.php/man/MECH-DUMP/1p/markdown)



## NAME
       mech-dump - Dumps information about a web page

## VERSION
       version 2.06

## SYNOPSIS
       mech-dump [options] [file|url]

       Options:

           --headers              Dump HTTP response headers
           --forms                Dump table of forms (default action)
           --links                Dump table of links
           --images               Dump table of images
           --all                  Dump all four of the above, in that order

           --text                 Dumps the textual part of the web page

           --user=user            Set the username
           --password=pass        Set the password
           --cookie-file=filename Set the filename to use for persistent cookies

           --agent=agent          Specify the UserAgent to pass
           --agent-alias=alias
                                  Specify the alias for the UserAgent to pass.
                                  Pick one of:
                                      * Windows IE 6
                                      * Windows Mozilla
                                      * Mac Safari
                                      * Mac Mozilla
                                      * Linux Mozilla
                                      * Linux Konqueror

           --absolute             Show URLs as absolute, even if relative in the page
           --help                 Show this message

       The order of the options specified is relevant.  Repeated options get repeated dumps.

       Proxy settings are specified through the environment (e.g.
       "http_proxy=<http://proxy.my.place/>").  See [LWP::UserAgent](https://www.chedong.com/phpMan.php/perldoc/LWP%3A%3AUserAgent/markdown) for details.

## SEE ALSO
       [WWW::Mechanize](https://www.chedong.com/phpMan.php/perldoc/WWW%3A%3AMechanize/markdown)

## AUTHOR
       Andy Lester <andy at petdance.com>

## COPYRIGHT AND LICENSE
       This software is copyright (c) 2004 by Andy Lester.

       This is free software; you can redistribute it and/or modify it under the same terms as the
       Perl 5 programming language system itself.



perl v5.32.1                                 2021-10-30                                [MECH-DUMP(1p)](https://www.chedong.com/phpMan.php/man/MECH-DUMP/1p/markdown)
