holli has asked for the wisdom of the Perl Monks concerning the following question:
Hi monks.
I am using WIN32::API in WSH-Script using ActiveStates PerlScript-Extension.
eg.
i wonder if it is possible to call the INIT-Block expliciatly ?
tx, holli
but the module complainsuse Win32::API; $timer = Win32::API->new( "winmm.dll", "long timeGetTime()" );
i tracked this down. it is because WSH-Script run eval()ed, and therefore the modules INIT-Block does not run.>> Win32::API::parse_prototype: WARNING unknown output parameter type +'long' at C:/Perl/site/lib/Win32/API.pm line 273.
i wonder if it is possible to call the INIT-Block expliciatly ?
tx, holli
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: call a modules INIT-section
by gaal (Parson) on Dec 19, 2004 at 21:44 UTC | |
Re: call a modules INIT-section (B tricks)
by ysth (Canon) on Dec 20, 2004 at 02:43 UTC | |
Re: call a modules INIT-section
by dragonchild (Archbishop) on Dec 20, 2004 at 13:38 UTC | |
Re: call a modules INIT-section (fix for Win32::API::Type)
by ihb (Deacon) on Mar 20, 2005 at 12:45 UTC |
Back to
Seekers of Perl Wisdom