Perl scripts for Windows

chip on 2000-06-05T02:57:53

keydet89 writes "Dave Roth has been kind enough to post an archive for Perl scripts at his web site. Following that example, I have started posting the scripts I write, for use on NT (and in some cases Win9x)...either for use or to demonstrate the use of a module, etc. These scripts are posted here for all to see.

Please feel free to look, download, use...and comment. Did something work or not work for you? Is there some other functionality that you'd like to see? "

[I thought CPAN was expanding into the script space already. Maybe they just need more publicity. --Chip]


Nice, but

jon peterson on 2000-06-05T14:00:25

Nice scripts, but...

Scripts sit uneasily between modules and applications. A script is very rarely something that is very useful unmodified - and if it is to be used as the basis for a new work, then it would be better to start with a package or module that was designed with re-use in mind.

That's not to say scripts shouldn't be made publicly available. The ideal would be, perhaps for Roth Consulting to amalgamate all their scripts into Win32::Utilities or something, but that obviously takes time and effort on their part. Meanwhile making the raw scripts available does help someone.

However, I think 90% of people with a need for this stuff either want it filled by an application that requires no modification (because the user is a non-programmer, for instance), or they want it filled by a nice module (because they _are_ a programmer).

So, I don't think anyone should be too dismayed that script archives don't take off in the way module archives and applications do. However, I'm happy to see scripts available, as I dip in from time to time.

Re:Nice, but

jns on 2000-06-05T15:04:25

I think 90% of people with a need for this stuff either want it filled by an application that requires no modification.

But it does appear that what is entirely lacking is a showcase for Perl applications. I seem to recall a discussion somewhere else about have a 'Camel-meat' site where people could post announcements of their applications - unfortunately I cant remember where that discussion was - the advocacy mailing list perhaps ?

Re:Nice, but

keydet89 on 2000-06-05T17:26:52

I'm glad you liked the scripts.

I subscribe to the Perl-NTAdmins listserver, and serveral subscribers have found the scripts to be useful. In fact, some of the scripts were spawned from stated needs and desires.

Re:Nice, but

Asim on 2000-06-05T19:50:28

Ture, ture. I'd love to see more Perl apps, as well as modules. An excellent example of what I'm thinking about [WARNING: Blither mode ahead!] is the Rezrov module, which allows you to play Infocom games, like Zork. Not only is all the code Perl-only (so you don't have to beat on a compliler, making it HIGHLY portable), but he has modules for just about every interface you can think of, from bland ASCII text to Tk.
Best of all, you can call it w/o writing your own program to build an interface! So it's an application that you can run in and of itself, and a module that you can incorporate into you own programs. For example, imagine running Chat::Eliza with this...Ugk! Or hooking it to the IRC module, allowing people in a channel to play the game if they so wish.
There are other modules/applications like this (CPAN, which I simply cannot get to work properly on my WinNT box, even w/Cygwin *UGH*), but we should defintily encourage them. I think, esp. with the new Mozilla connections and editors, we could see an influx of Perl dev folks, and uses for Perl. It would be nice to point them to these simple examples, and let them have at it.
Perl will never be simple -- but it doesn't have to be difficult. :)
Comments?

404?

dlc on 2000-06-06T11:48:29

Not Found

The requested URL /user/cardawg/perl.html was not found on this server.

Re:Nice...real nice

keydet89 on 2000-06-08T14:31:40

I agree...I'd like to see more modules for Win32. I use Win32::Lanman, and Dave Roth's modules all the time.

Right now, I'm trying to write a raw IP generator script (which I plan to grow into a module) that uses eEye Security's new LibnetNT.dll. Unfortun- ately, I'm not a very experienced C or Windows coder...so I'm having some problems. It also doesn't help that I've already run into one area that was poorly undocumented.

Anyway, that's where I'm trying to go...it's a little discouraging so far, but not so much that I'm ready to quit...what I'd eventually like to see is a Win32 port of nmap...either as an .exe or as a Perl script...

Carv