Loads the ADO 2.5 constants and dumps them to the screen. This example is a small modification of the example of loading Word-constants available in the Win32::OLE::Const documentation. You can also write it as "use Win32::OLE::Const('Microsoft ActiveX Data Objects 2.5');".
<p>
<%
use Win32::OLE::Const;
my $ado = Win32::OLE::Const->Load('Microsoft ActiveX Data Objects 2.5');
foreach my $key (keys %$ado) {
$Response->Write(<<EOF);
$key = $ado->{$key}
EOF
}
%>
<!-- +++++++++++++++++++++++++++++++++++++
here is the standard showsource link -
Note that PerlScript must be the default language --> <hr>