Hi,
I normally use perl for standalone apps & javascript asp for web apps so could someone please explain to me why the code below is not displaying any info when I try to run it as either an asp or a htm
Also is there a method such as the response.expires available in perl ( not cgi ) where I can clear all cached info instead of having to unset every variable I use
<%@ Language=PerlScript%>
<html><body>
<%
use Win32::ODBC;
$dsm=undef;
$dsm="DSN=EMF3BRM2;UID=serverweb;PWD=";
$db = new Win32::ODBC($dsm);
@array1=();
if ($db)
{
$db->Sql(" Select * from Family "
;
while($db->FetchRow())
{
undef %Data;
%Data = $db->DataHash();
$Name = "$Data{FamilyID}";
print "$Name";
}
}
$db->Close();
I normally use perl for standalone apps & javascript asp for web apps so could someone please explain to me why the code below is not displaying any info when I try to run it as either an asp or a htm
Also is there a method such as the response.expires available in perl ( not cgi ) where I can clear all cached info instead of having to unset every variable I use
<%@ Language=PerlScript%>
<html><body>
<%
use Win32::ODBC;
$dsm=undef;
$dsm="DSN=EMF3BRM2;UID=serverweb;PWD=";
$db = new Win32::ODBC($dsm);
@array1=();
if ($db)
{
$db->Sql(" Select * from Family "
while($db->FetchRow())
{
undef %Data;
%Data = $db->DataHash();
$Name = "$Data{FamilyID}";
print "$Name";
}
}
$db->Close();