Re: substitution on a file

2001-05-03 Thread Steven Wadding
At 12:42 PM 5/3/01 -0400, Rex Posadas wrote: > Start of Code *** >$oldWord = "Orange"; >$newWord = "Apple"; > >$^I=".bk"; > >while (<>) { > $_ =~ s/$oldWord/$newWord/g; > print; >} > End of Code *** > >This code replaces any occurance of "O

Re: PPM: package repository has changed?

2001-04-17 Thread Steven Wadding
At 05:02 PM 4/16/01 -0700, Brian McDonald wrote: >What does a guy have to do to get PPM to work again? And why in the world >would >PPM particulars be changed without communicating the fix in some way? Start PPM, and to add the repository type: 'set repository http://www.ActiveState.com/PPMPac

Re: [Perl-win32-users] [OT] : is the list still working ?

2001-03-12 Thread Steven Wadding
At 10:15 AM 6/2/00 +0200, Fabien Martinet wrote: >is the list working ? >I've received nothing since 31/05 15h09... No wonder he wasn't getting messages. They were time warped over nine months into the future. Sorry, couldn't resist. Steve ___ Perl

PGP and ActivePerl

2001-03-12 Thread Steven Wadding
I need to perform PGP encryption on a file on an NT 4 system. PGP 5.5 is installed. I found a module, Crypt::PGP5, but am having trouble with it. It uses the module Expect, which I installed, but that uses the module IO::Pty, about which the Expect documentation says, "The operating system

RE: strict frustration

2001-03-07 Thread Steven Wadding
At 04:54 PM 3/6/01 -0600, Michael Marziani wrote: >Yeah, I think > > >our( ); > >is now the standard. > >-Mike Was part of the question along the way about how to pass variables to a script called with "do" while using "use strict"? I had done this by naming the variable $main::varname, becaus

Re: Best hash key / array comparison?

2001-02-20 Thread Steven Wadding
At 08:09 PM 2/20/01 +, Lee Goddard wrote: >I wish to list every key in a hash that is not present in an array. > >What would be the most effecient way to do this? > >Iterating of the array for each key doesn't seem too clever. > >Thanks in anticipation >lee How about this. Make a copy of the

Right-click file properties

2001-02-14 Thread Steven Wadding
In Windows, if you right-click on a file in explorer, one of the menu items is "Properties". For some executables, the properties you can view include Version information and things like comments, company name, product name, product version, etc. Is there an easy way for a perl script to acce

Re: Net::SSH Help?

2001-02-13 Thread Steven Wadding
At 11:56 AM 2/13/01 +, Martin Moss wrote: >Has anybody had any experience with using Net::SSH? > >Am trying to implement a CVS system (was going to use VCS::CVS), but just >been told we're only allowing ssh across all our servers, so I need to >find >a replacement for telnet and FTP. So basic

Re: nmake was Re: modules compilation problem: missing separator????

2001-02-05 Thread Steven Wadding
At 04:48 PM 2/5/01 +1100, Sisyphus wrote: >Hi, >There's probably a later version of nmake than the one my link downloads :-) >Stuffed if I can find it, however. I did manage to find nmake15.exe on the Microsoft FTP site, from home. I hadn't found it before because I can't seem to get to FTP sit

Re: Disk Space and Free Space

2001-02-05 Thread Steven Wadding
At 08:12 AM 2/2/01 -0800, Asif Kaleem wrote: >Hello Community: > >Is there a way to find out how big the hard drive is and >how much free space is available using Perl on Win32 platform? I found a module to do this at CPAN. Go to:

RE: modules compilation problem: missing separator????

2001-02-04 Thread Steven Wadding
At 10:09 PM 2/2/01 -0500, Thiebaud Richard wrote: >Your particular error might be solved by using nmake instead of gnu make; >I've had >similar errors. "nmake" is downloadable from Microsoft. Where does one find nmake at Microsoft? Steve W. Steven