in reply to enctype problem in CGI
Note that startform() is documented as an alias of start_form(), and the source code does seem to support that. I also got the same results with v3.11>perl -e 'use CGI; print $CGI::VERSION;' 3.15 >perl -e "use CGI; print CGI::start_form({enctype=>'test'});" # Seems +broken <form method="post" action="" enctype="multipart/form-data" enctype="t +est"> >perl -e "use CGI ( -no_xhtml ); print CGI::start_form({enctype=>'test +'});" # A non-ideal solution <form method="post" action="" enctype="test"> >perl -e "use CGI; print CGI::startform({enctype=>'test'});" # Don't k +now why it works, but it does... <form method="post" action="" enctype="test">
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: enctype problem in CGI
by avarus (Novice) on Apr 15, 2008 at 09:23 UTC | |
by macPerl (Beadle) on May 14, 2008 at 10:14 UTC |