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 ? > > Is it possible to write and install a non-core module in such a way that it > doesn't need to be explicitly loaded - or is this something that can only be > achieved when perl itself is being built ? > > Are there other modules that, similarly, don't need to be loaded ?
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 _______________________________________________ Perl-Win32-Users mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
