in reply to html input value

#!/usr/bin/perl use strict; use warnings; use CGI; my $cgi = CGI->new; my $query = $cgi->param("text"); print $cgi->header; print "my value is: $query\n" if $query; print qq(<form><input name="text" value="hey"></form>);

Replies are listed 'Best First'.
Re^2: html input value
by soonix (Chancellor) on Oct 09, 2018 at 17:59 UTC
    Looks good to me. However, it will work only if OP meets the prerequisites
      Looks good to me. However, it will work only if OP meets the prerequisites …

      Bollocks! It works, period. This is not a college course or some job certification. Hackers learn by hacking, and that can be quite ugly, at first.