On Thu, 09 Sep 2010, Mark Dootson wrote: > > I didn't recall seeing Win32::InitiateSystemShutdown. > It turns out there's a pod format error in Win32.pm - whitespace after > item=Win32::InitiateSystemShutdown.
Ah, thanks, I'll fix that for the next CPAN release... > So documentation for this appears under section for Win32::Guidgen. > > If you're like me, and use the nice formated html help with ActivePerl, > you are probably going to miss the Win32::InitiateSystemShutdown > documentation. I actually use `perldoc` most of the time... But I already knew that the function would be there under some name. I'm still interested to know if there are any problems with it though. Cheers, -Jan > On 09/09/2010 18:24, Jan Dubois wrote: > > On Thu, 09 Sep 2010, Renée Bäcker wrote: > >> > >> Am 09.09.2010 14:03, schrieb Johan Vromans: > >>> How can I shut down Windows from a wxPerl application? > >>> > >> > >> Have you tried Win32::ShutDown?? http://search.cpan.org/dist/Win32-ShutDown > > > > I wonder why this module exists. Is there something broken > > with Win32::InitiateSystemShutdown(), which has been included > > in core Perl for at least 10 years now (in the Win32.pm module)? > > > > Cheers, > > -Jan > > > > PS: I'm similarly baffled by the existence Win32::GuidGen module, given > > that Win32::GuidGen() is already a function in Win32.pm too. > >