Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Win32 programming resources

by wil (Priest)
on Jun 07, 2002 at 09:41 UTC ( #172467=perlmeditation: print w/ replies, xml ) Need Help??

Perl has adequate support for Win32 programming, but the core distribution can be lacking in some areas. Here's how an 'icky' situation helped me discover a great Win32 perl programming resource.

The other day a virus infected my Win32 box. Iím still not sure if this actually was a virus, or just a Ďfeatureí of my Windows 98 box. Anyway, it screwed up my File Type Associations to the point of Windows not knowing what program it should use to open up any darn file on my system.

Anyway, work was getting me down, and I was bored. So, I decided to play around with ways of fixing this situation using Perl. After a little scouring on the Ďnet I came across this cool Win32 Perl resource site, very originally named Jenda's pages (mirror here). It had on it a few modules I hadnít seen on CPAN before, and some of which turned out to be pretty handy.

For my situation, I picked up on Win32::FileType and had fun playing around with my file type associations. This neat little module allowed me to swap all my icons and even allow me connect to the same file type in on a remote computer.

Anyway, I just wanted to share this great resource I found. Itís got some handy little modules, most of which that arenít available on CPAN, and some of which have been salvaged while the original authors and sites have gone AWOL. If youíre a frequent programmer on Win32 platforms, then there might be something here you find useful.

Here are just some of the highlights:

  • Win32::FileType
    Create and modify file type mapping in Win95/98/NT

  • Win32::AbsPath
    Used for converting relative paths to absolute paths.

  • Win32::Lanman
    Lan manager functions including everything that you find in the Server-Manager, User-Manager, Dfs-Manager, Event-Viewer and more.

Just before posting this article, I decided to just do a quick check, and my suspicions were confirmed; Jenda is in fact a Perl Monk. So, I guess some big kudos goes out to Jenda for putting these great resources together on his site.

- wil

Comment on Win32 programming resources
Re: Win32 programming resources
by enoch (Chaplain) on Jun 07, 2002 at 15:45 UTC
Re: Win32 programming resources
by Mr. Muskrat (Abbot) on Jun 08, 2002 at 01:29 UTC
Re: Win32 programming resources
by Jenda (Abbot) on Jun 11, 2002 at 16:33 UTC

    Thanks for your thanks ;-)

    I promise I'll review the CPANness of my modules and try to register the ones that are not there yet :-)

      Jenda

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://172467]
Approved by broquaint
Front-paged by hsmyers
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2014-11-26 00:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (160 votes), past polls