I agree 100%. The print statements the following code may render differently in the two browsers:
$dir1 = "\\servername\directory";
$xyz = opendir(DIR,"$dir1");
if ($xyz != 1)
{
&errCanNotOpenUploadDir;
}
sub errCanNotOpenUploadDir
{
print "content-type...
I'm running a perl script from a web page. My script does an "opendir" to check for the existence of a directory:
$dir1 = "\\servername\directory";
if (opendir(DIR,"$dir1") != 1)
{
&errCanNotOpenDir;
}
When running the script through a Netscape browser, the...
I was able to use the "print" command to achieve the desired results:
$myURL = "myFile.asp";
print "Location: " . $myUrl . "\n\n";
The only catch was that the print statement had to be the only print statement in the subroutinue.
I'm new to perl and am not completely familar with all of it's features.
I have an ASP page within my application that, upon submit, runs a perl script. At the end of the script, I want to call another ASP page that would add data to a database based on the results of the perl script...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.