C
cibalo
Hello,
The following script produces two extra 0's at the end of the lines ---
see below.
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "# which sendmail<br>";
$out = system("which sendmail");
print "$out<br>\n";
print "<br>";
print "# which perl<br>";
$out = system("which perl");
print "$out<br>\n";
print "<br>";
And the browser displays as:
# which sendmail
/usr/sbin/sendmail 0
# which perl
/usr/bin/perl 0
Please help me to eliminate the two extra 0's at the end of the lines.
I have no idea where these 0's are coming from.
Thank you very much in advance!!!
The following script produces two extra 0's at the end of the lines ---
see below.
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "# which sendmail<br>";
$out = system("which sendmail");
print "$out<br>\n";
print "<br>";
print "# which perl<br>";
$out = system("which perl");
print "$out<br>\n";
print "<br>";
And the browser displays as:
# which sendmail
/usr/sbin/sendmail 0
# which perl
/usr/bin/perl 0
Please help me to eliminate the two extra 0's at the end of the lines.
I have no idea where these 0's are coming from.
Thank you very much in advance!!!