----- Original Message ----- From: "$Bill Luebkert" <[EMAIL PROTECTED]> To: "Sisyphus" <[EMAIL PROTECTED]> Cc: "perl-win32-users" <[email protected]> Sent: Wednesday, November 16, 2005 5:10 PM Subject: Re: Loading Win32 module
> Sisyphus wrote: > > > Hi, > > The following code works fine on my Windows2000 box: > > > > use warnings; > > print Win32::IsWinNT(); > > > > How come it is unnecessary to explicitly load the Win32 module ? > > > > Looking in ASL/Win32.pm : > > # Routines available in core: > # Win32::GetLastError > # Win32::LoginName > # Win32::NodeName > # Win32::DomainName > # Win32::FsType > # Win32::GetCwd > # Win32::GetOSVersion > # Win32::FormatMessage ERRORCODE > # Win32::Spawn COMMAND, ARGS, PID > # Win32::GetTickCount > # Win32::IsWinNT > # Win32::IsWin95 Aah ... and I also missed the explanation given at the start of 'perldoc Win32': "Perl on Win32 contains several functions to access Win32 APIs. Some are included in Perl itself (on Win32) and some are only available after explicitly requesting the Win32..." Cheers, Rob _______________________________________________ Perl-Win32-Users mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
