Well, I have a "Proof of concept" here with perlscript and looks pretty
cool. But now, I've run into another question concerning shared
objects. I'm a bit confused between the syntax used for VB script and
what I got working with perl script. I'll show the two examples below.
VB:
Set soStandardHelpDialog =
SharedObjects("com.GWMicro.GWToolkit.StandardHelpDialog", 0).NewDialog
Perl:
my $soStandardHelpDialog =
$Application->SharedObjects->{"com.GWMicro.GWToolkit.StandardHelpDialog"}->NewDialog;
Note that each of the above statements was on a single line in the
original scripts. I had to remove the ", 0" from the perl version to
get the object to be created. At least right now, both constructs
appear to work the same. I may not be absolutely clear on the perl
syntax here for creating object collections but wondered if I should
continue this way without the second parameter (, 0) or if I should make
the correction and learn more about perl and object parameters <smile>?
Up til now, the script is working in all areas that I've included. So
far, I have xml and ini files being processed and can display the help
with this existing construct.
When I add a bit more functionality to this script, I plan to post it to
Script Central for a reference model for other perl mongers out there.