Home
Directory
Frontier
DaveNet
Mail
Search
Guestbook
System
Ads

Wednesday, April 08, 1998 at 9:19:05 AM Pacific

Calling Frontier from Perl

From Peter Rukavina, peter@digitalisland.com:

This works:


$Frontier = $WScript->CreateObject("UserLand.Frontier.Server");

$AnObject = $Frontier->GetObject("samples");

$answer = $AnObject->basicSample("Hello");

$WScript->Echo ($answer);

Requires

  1. Windows Scripting Host (http://www.microsoft.com/scripting)

  2. Perl for Win32 (http://www.activestate.com/)

  3. PerScript for Win32 (http://www.activestate.com/)

Paste above into a text file. Then, from the Windows (95/NT) command line:

cscript sample.pls

Neat!

http://www.digitalisland.com/


This page was last built on 4/8/98; 9:52:44 AM by Dave Winer. dave@scripting.com