use Strict; use CGI; my $myCGI = new CGI; my $withSpace = $myCGI->param('foo') . ' ' . $myCGI->param('bar'); my $withoutSpace = $myCGI->param('foo') . $myCGI->param('bar'); print "With Space \t $withSpace \n"; print "Without Space \t $withoutSpace";