Re: Win32 Net::SFTP

2002-11-21 Thread michael higgins
[EMAIL PROTECTED] wrote: Has anyone gotten this module to work on Win32? I currently get "Can't map service name 'ssh' to port number at D: /Perl/site/lib/Net/SFTP.pm line 36" when running the following simple code: Just a wild guess, but have you tried defining a port for ssh in your W

Re: PPM "set save" not saving repositories

2002-11-21 Thread Dirk Bremer \(NISC\)
Joe, There have been some threads on this subject in the past concerning the corruption of the perl\site\lib\ppm.xml file that stores all of the information for ppm. You might be able to reconstruct this file by editing it or other means, otherwise, reinstall your Perl installation and ppm will fu

Re: Win32 Net::SFTP

2002-11-21 Thread shurst
> Has anyone gotten this module to work on Win32? I currently get > "Can't map service name 'ssh' to port number at D: > /Perl/site/lib/Net/SFTP.pm line 36" when running the following simple code: > Just a wild guess, but have you tried defining a port for ssh in your WINNT/system32/drivers

Re: Beginner Question

2002-11-21 Thread Mark Bergeron
If you mean rom a link, like this: your link pass info like this: your link or did you mean something else. -Original Message- From: "Laura Meli"<[EMAIL PROTECTED]> To: "Perl-Win32-Users"<[EMAIL PROTECTED]> Date: Fri Nov 01 06:15:28 PST 2002 Subject: Beginner Question >I am new to wri

RE: Gathering Information

2002-11-21 Thread Stovall, Adrian M.
Title: Message not sure if this is what you're looking for, but I found an interesting link...     http://www.qwerks.com/product.asp?ProductID=3638 -Original Message-From: Cruickshanks, Darin [mailto:[EMAIL PROTECTED]] Sent: Monday, November 18, 2002 9:18 AMTo: [EMAIL PR

IMAP SERVER

2002-11-21 Thread Mohanty, Debi \(MED, TCS\)
Hi, Is there any way I can connect to a IMAP Server to communicate through perl. Thanks&Regards Debi ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: Newbie Question

2002-11-21 Thread Dirk Bremer \(NISC\)
- Original Message - From: "Laura Meli" <[EMAIL PROTECTED]> To: "Perl-Win32-Users" <[EMAIL PROTECTED]> Sent: Monday, November 11, 2002 07:41 Subject: Newbie Question > Hi everyone, > > I am just starting out to use perl to write my test scripts. I was > wondering if there was a way to ca

PPM "set save" not saving repositories

2002-11-21 Thread Joseph P. Discenza
All, Build 626, PPM version 2.1.5. I "set repository BLAH...", then "set save", and then quit and restart PPM. Voila, my repositories are gone (in fact, I don't have *any* repositories). Other parameters do seems to be saved: confirm, for example. Any ideas? Joe ===

Re: Newbie Question

2002-11-21 Thread Martin Moss
Hi Laura, you can use require '../../myperlscript.pl'; However I would advise you go down the .pm route. changing a .pl file into a .pm module isn't too big a hassle - simply ensure your script is well structured using subroutines then write a parent .pl script to use that module and call each

RE: Newbie Question

2002-11-21 Thread Medlen, Jiri
Laura, a) $command = "perl ..\\eHNC_big_test\\ehnc_big_test.pl"; $output = system ($command); b) $command = "perl ..\\eHNC_big_test\\ehnc_big_test.pl"; open (RESULTS, "$command |"); $status = ""; while ($_ = ) { $status.=$_; } -Jiri- -Original Message- From: Laura Meli [m

Re: How to create a PPM package?

2002-11-21 Thread Randy Kobes
On Thu, 7 Nov 2002, Mike Schilli wrote: > how does ActiveState create their PPM packages? Now, while you > get pretty close with the MakeMaker and "make ppd" which > creates a *.ppd file and a tarball, there's still the HTML > documentation missing, preferably nicely linked, which is a > pain with

Re: Starting Netscape - default browser

2002-11-21 Thread Martin Moss
Hi Laura, Is there a specific reason to start Netscape over Explorer? Or is it that you want to open the 'default' browser? The following code will open the user's 'default' browser. If this was configured to be netscape, then netscape would open. As to opening Netscape specifically, I haven't go

RE: OLE and IE to fetch web pages

2002-11-21 Thread Laura Meli
There is a great perl automation script that allows you to open a web page with IE and navigate to a URL. You can then access all the information from the page. Ie Enter values in text fields, click on buttons ect ... I'm using it to automate my testing. Here's the link: http://samie.so

TieRegistry

2002-11-21 Thread Eric Hennessey
Hi all...   Does anyone out there have any sample code snippets for using TieRegistry to create keys and update key values, for both local and remote machines?  Any samples would be most appreciated.   Thanks! Eric

Process::Create output woes

2002-11-21 Thread John McAree \(HSA\)
Hi there, I'm having a small problem using Win32::Process::Create. I'm trying to run a program compiled from C++ code, but to cope with infinite loops etc, I need a decent amount of control over the running process...which is why I'm using Process::Create. However, I need to capture the output to

Gathering Information

2002-11-21 Thread Cruickshanks, Darin
HI All,   I need to gather the serial numbers of the hard disks within the machines throughout the organization.  Does anyone know of a way (using Perl or otherwise) to do this?   Cheers,   Darin Darin Cruickshanks Labs Manager, Computing

LWP::UserAgent and HTTPS/SSL

2002-11-21 Thread Harald Wopenka
Hi there, i used a little Skript for periodically automatic logon to a website and send some forms like there was a real user. Meanwhile the site changed the login - the initial form gets now sent through https instead of http which gives my skript a hard time. Does anyone have an example/hint wh

Re: Log4perl question (off topic??)

2002-11-21 Thread Mike Schilli
John Drabinowicz <[EMAIL PROTECTED]> wrote: > 1) Is there an e-mail list for Log4perl users (beginners?) Yes, there is: [EMAIL PROTECTED] > 2) I have a main calling module and sub modules and library modules > The .pl files are set up to be used by the main.pl or independently, > What is

s/$search/$replace/ where $replace has $1 or \1 in it

2002-11-21 Thread Jeff Shanholtz
How do I get $1 (or \1) to evaluate in the following "s" operation? $search = "(abc)[a-z]*"; $replace = "$1-"; $_ = "abcxyz123"; s/$search/$replace/; $_ should contain "abc-123" after the operation. Everything I've tried so far doesn't work. Probably doesn't matter, but $search and $replace are

RE: perl processes stalling/sleeping

2002-11-21 Thread Bruno Grossmann
I have also seen this behavior with my own set of scripts. It has always run fine on Win NT SP6, but I see the exact same behavior on Win 2K. The other think is, it seems to be happening at random. I was wondering if it could be related to a different implementation of Perl on Win 2K: Where I se

Newbie Question

2002-11-21 Thread Laura Meli
Hi everyone, I am just starting out to use perl to write my test scripts. I was wondering if there was a way to call one perl program from another. I know that if I have a .pm module then I call it by the use function. How about a .pl file? I want be able to choose which tests I run each time

Re: Re[3]: Building Win32-perl with Mingw-gcc vs. MS VC++

2002-11-21 Thread Nick Ing-Simmons
Robert Allerstorfer <[EMAIL PROTECTED]> writes: >Hi, > >an optimization level greater than 2 increased both the file size and >the memory consumption. Here are the results of my Perl 5.8.0 >compilates, compiled with GCC 2.95.2: -O3 and above inlines functions which makes code bigger. (And may mak

How to create a PPM package?

2002-11-21 Thread Mike Schilli
Hi there, how does ActiveState create their PPM packages? Now, while you get pretty close with the MakeMaker and "make ppd" which creates a *.ppd file and a tarball, there's still the HTML documentation missing, preferably nicely linked, which is a pain with pod2html. Are there any publicly avail

Starting Netscape

2002-11-21 Thread Laura Meli
I am trying to automate the GUI testing using Perl scripts. I am able to start an IE browser with the following code: (I've taken this from SAMIE, I have not written it myself) sub StartIE { my $hnd; $IE = Win32::OLE->new("InternetExplorer.Application") || die "Could not start Internet Explo

LWP - SSL(eay) & proxies/firewalls

2002-11-21 Thread Josh Bertram
Hi, I'm having a little trouble figuring out how to get LWP, SSLeay, and proxy code to all interoperate. I've figured out how to get past the proxy server for http requests: use LWP::UserAgent; $ua = LWP::UserAgent->new; $ua->proxy(http => 'http://proxy'); my $req = HTTP::Request->new