Code Comments
Programming Forum and web based access to our favorite programming groups.corn29@ no_spam excite.com wrote:
> Hello,
>
> I have a barebones release of Perl 5.8. I need to use Win32::MsgBox
> in the body of the script. From CPAN I downloaded libwin32-0.191.zip
> and installed it. The problem is installing that module loads all the
> Win libraries. I only need to use the MsgBox and nothing else.
>
> By themselves, I tried getting just Win32::OLE and that doesn't appear
> to have MsgBox in it and I couldn't get Win23::GUI to build at all!
>
> Is there a more abbreviated module I can get or is the entire
> collection of Windows libraries as "low" as I can go?
>
You just need to install the Win32 module which is one of the modules
that makes up libwin .... umm .... that may not be quite correct -
Win32 *used* to be part of libwin, but it is now (with perl 5.8.5) part
of perl core. If you have perl5.8.5 you'll already have it - otherwiae
you'll need to install it, and the simplest way of doing that is to
install libwin.
use warnings;
use Win32;
Win32::MsgBox("Hello World");
__END__
See 'perldoc Win32' for more information regarding that function.
Cheers,
Rob
--
To reply by email u have to take out the u in kalinaubears.
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.