http://qs1969.pair.com?node_id=78629


in reply to CGI.pm, combining two strings

Or you could use the following script:

#!/usr/bin/perl use CGI; use CGI::Carp 'fatalsToBrowser'; CGI::ReadParse(*in); $foo = $in{'name_of_first_field'}; $bar = $in{'name_of_second_field'}; $withspace = "${foo}${bar}"; $withoutspace = "$foo $bar";
And do what they told you already:
print "$withspace\n"; print "$withoutspace\n";

Good Luck!

#!/jpsama/bin/perl -w
$tks = `mount`;
$jpsama = $! if $!;
print $jpsama;