Fagyal, Csongor wrote:
Reggie,
Without knowing perl syntax and basically perl, IMHO you will have a
hard time.
-: use strict;;;use vars qw($Application $Session $Response $Server
$Request);;
Actually I don't think you need to "use vars" here (it probably won't
hurt, though).
[...]
I think
Reggie,
Without knowing perl syntax and basically perl, IMHO you will have a
hard time.
-: use strict;;;use vars qw($Application $Session $Response $Server
$Request);;
Actually I don't think you need to "use vars" here (it probably won't
hurt, though).
[...]
11: $proc->{LoadPage}("D:\Root
Title: RE: Converting ASP/VBScript COM reference to Apache::ASP Perl COM ref erence
Ok, I followed the suggestions posted and changed the script to this:
-: use strict;;;use vars qw($Application $Session $Response $Server $Request);;
-: #line 1 d:/websites/default.asp
1: ;;
2: use
Hi,
1: ;;
2: use Win32::OLE;
3: use strict;
4:
5: my $proc = Win32::OLE->new('Project.clsInitialClass');
6: my $proc->Application = $Application;
First, this assumes that Win32::OLE has an Application method (that is
why you got an error message). Also, you cannot use my here, that is
Why not try something like:
my $proc = Win32::OLE->new('Project.clsInitialClass') or die
Win32::OLE->LastError();
$proc->Application = $Application;
...etc
maybe this will help you figure out the problem.
oh, and drop the ``my'' in ``my $proc->Application''...
another thing: is $proc->Applicatio
Hi,
may be, it has nothing to do with your problem but you should leave the
multiple "my"s, because
at line 5 you allready defined "proc" as private variable and initiallized
it.
From line 6 on you are trying to "make" a hashref element private,
which makes no sense.
Or you are doing some kind o