And do what they told you already:#!/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";
print "$withspace\n"; print "$withoutspace\n";
#!/jpsama/bin/perl -w $tks = `mount`; $jpsama = $! if $!; print $jpsama;
In reply to Re: CGI.pm, combining two strings
by JP Sama
in thread CGI.pm, combining two strings
by stuffy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |