~/perl_programs$ ./my_prog.pl name1=value1&name2=value2 [1] 462 ~/perl_programs$ Content-Type: text/html; charset=ISO-8859-1
##
~/perl_programs$ ./my_prog.pl name1=value1 name2=value2
Content-Type: text/html; charset=ISO-8859-1
Untitled Document
- name1
- value1
- name2
- value2
~/perl_programs$
####
~/perl_programs$ ./my_prog.pl name1=value1;name2=value2
Content-Type: text/html; charset=ISO-8859-1
Untitled Document
- name1
- value1
~/perl_programs$
####
#!/usr/bin/env perl
use strict;
use warnings;
use 5.014;
use CGI qw{:standard -debug -newstyle_urls}; #Cycling through various pragmas
my $q = CGI->new;
print $q->header,
$q->start_html;
print Dump;
print $q->end_html;
####
$ perl -v
This is perl 5, version 16, subversion 0 (v5.16.0) built for darwin-2level
Copyright 1987-2012, Larry Wall
...
$ perl -MCGI -e 'print $CGI::VERSION'
3.59