The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

HTML::FormRemove - remove form tags from HTML

SYNOPSIS

  my $html = 
    "<FORM> <INPUT TYPE=TEXT NAME='Test' VALUE='Hello World!'> </FORM>";
  use HTML::FormRemove
  print RemoveFormValues($html);

DESCRIPTION

HTML::FormRemove is a module that removes form tags from HTML, while otherwise leaving the HTML intact. This allows for forms to be converted into something printable and usable.

RemoveFormValues ( HTML [, HTML [, HTML [...]]] )

Removes the form values. Exported by default. Returns an array of lines containing the updated HTML, or one single like containing them separated by newlines.

NOTES

This module is a work in progress; I've only got basic functionality working at the moment.

REQUIREMENTS

Perl 5 or better, and the HTML::Form module (with everything that requires).

SEE ALSO

HTML::Form

http://www.ks.uiuc.edu/Development/MDTools/dbiframe for the latest version.

TODO

Modularize the code.

Make some more specific functions, and allow for more customizability within it. IE, it'd be nice to only take out <textarea> tags, and leave everything else alone.

AUTHOR

Written by Tim Skirvin <tskirvin@ks.uiuc.edu>.

LICENSE

University of Illinois Open Source License Copyright (c) 2002 University of Illinois Board of Trustees All rights reserved Developed by: Theoretical Biophysics Group University of Illinois, Beckman Institute http://www.ks.uiuc.edu/

Permission is hereby granted, free of charge, to any person obtaining a copy of this software, DBI::Frame, and associated documentation files (the "Software"), to deal with the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

        * Redistributions of source code must retain the above copyright 
          notice, this list of conditions and the following disclaimers.
        * Redistributions in binary form must reproduce the above copyright 
          notice, this list of conditions and the following disclaimers in 
          the documentation and/or other materials provided with the 
          distribution.
        * Neither the names of the Theoretical Biophysics Group, the
          University of Illinois, nor the names of its contributors may 
          be used to endorse or promote products derived from this Software 
          without specific prior written permission.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE.

COPYRIGHT

Copyright 2001-2002 by the University of Illinois Board of Trustees and Tim Skirvin <tskirvin@ks.uiuc.edu>.