Help for this page

Select Code to Download


  1. or download this
    require "cgi-lib.pl";
    &ReadParse(*input); # store form values in the glob "input"
    
    print &PrintHeader; # print HTML header
    print "Name: ", $input{name}, "<br>\n";
    
  2. or download this
    print "First value: ", $input{valueList}, "<br>\n";
    print "All values: ", 
          join("<br>\n", split(/\0/, $input{valueList}));
    
  3. or download this
    #!/usr/bin/perl -w
    # /~alakaboo/cgi-perl/multi.pl
    
    ...
        my @tmp = split /\0/, $v{ar};
        print "@tmp";
    }