in reply to Re: Undefined Subroutine
in thread Undefined Subroutine
use win32::RASE; $hrasconn = win32::RASE::RasDial("test"); $status = win32::RASE::RasGetConnectStatus($hrasconn); print $status;
The result:
Undefined subroutine &win32::RASE::RasDial called at C:\scripts\diates +t.pl line 2, <DATA> line 164.
Even though the following works:
perl -MWin32::RASE -e "RasDial(test) or print Win32::RASE::FormatMessa +ge"
Yes, I am a beginner. I have gone through Learning Perl a bit, I find learning by trying something I want to do works best, but not sure where to look for this one.
Code tags added by GrandFather
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Undefined Subroutine
by evgen88 (Initiate) on May 27, 2006 at 04:10 UTC | |
Re^3: Undefined Subroutine
by evgen88 (Initiate) on May 25, 2006 at 06:46 UTC |