RE: Telnet module

2004-04-19 Thread Andrew Timberlake-Newell
> Can someone send me an example of how to use the debugging tools "input_log , and or > dump_log" in the Telnet module.  I'm trying to get a telnet to work and it appears > there is a character that I can't match.  Here is an example of one of my telnets > that work: > > my ($file, $tn); > use

RE: Telnet module

2004-04-19 Thread Bullock, Howard A.
This is what I used to debug a Cisco Telnet script.   $session = Net::Telnet::Cisco->new(   Host   => $host,   Errmode    => 'return',   Input_log  => $RootPath . "logs\\". $host . "_input.log",   Output_log => $RootPath . "logs\\". $host . "_output.log",   Dump_log   => $RootPa

RE: Win32::Daemon::Simple vs. SVCANY.EXE

2004-04-19 Thread Peter Guzis
My $0.02 on SRVANY.EXE: The problem with SRVANY.EXE is that it does not integrate into your program. It merely acts as a service wrapper. This means when you decide to stop the service, SRVANY has no hooks into your program to tell it when and where to stop. The only possible way to stop you

R: R: problem with Geo::Shapelib

2004-04-19 Thread TELARO BARTOLOMEO
>> Thanks Randy, >> I'm using ActivePerl 5.8.3 build 809. >> The author's module (Ari Jolma) write me there is no intentionally OS >> specific syntax in the module >> but he had never installed Geo::Shapelib in a Windows machine. >What might be worth investigating is if the module builds >and tes

R: problem with Geo::Shapelib

2004-04-19 Thread TELARO BARTOLOMEO
Thanks Randy, I'm using ActivePerl 5.8.3 build 809. The author's module (Ari Jolma) write me there is no intentionally OS specific syntax in the module but he had never installed Geo::Shapelib in a Windows machine. best regards bart Bartolomeo Telaro Presidio Tecnico Aeroportuale ARPA Lombardia

Telnet module

2004-04-19 Thread Lloyd_Prindle
Can someone send me an example of how to use the debugging tools "input_log , and or dump_log" in the Telnet module.  I'm trying to get a telnet to work and it appears there is a character that I can't match.  Here is an example of one of my telnets that work: my ($file, $tn); use Net::Telnet; $t

Re: Win32::OLE and events from multiple source interfaces

2004-04-19 Thread Rajkumar Malli
At 09:15 PM 3/31/2004, Jan Dubois wrote: >On Wed, 31 Mar 2004 19:43:48 -0800, Rajkumar Malli <[EMAIL PROTECTED]> >wrote: > >>I have a ATL COM server which supports two connection point >>interfaces IAsiaCommonEvent and IAsiaTestEvent along which >>it can fire COM events . Now, I can get events fro

archive::zip problem

2004-04-19 Thread Michael Meltzer
I wrote a little perl script to zip some textfiles on a windows box, send the archive via NET::FTP to a unix box and decrompress the archive there. On windows (NT) I can decrompress the archive with WinZip but on unix (SuSe 8.2 and Solaris 7) when running unzip I get the following error message:

Setting extended File Properties

2004-04-19 Thread Phillips Thomas E Contr AFMC/ITON
> Does anyone have any examples of or know how to change the extended > properties of a file (Comment, Title, Subject, Keywords, etc.) from within > Perl? > > Have been looking at Win32::OLE, but I have not been able to change these > extended properties. > > Thank you, > Tom ___

RE: searching a file for keywords

2004-04-19 Thread Beckett Richard-qswi266
> I thought this would do the trick: > > if($wholefile =~ /^\s*$keyword\s*$/) This could be a \n issue. Do you chomp $wholefile before the match? If you don't want to chomp it, then try: if ($wholefile =~ /^\s&$keyword\s*\n$/) > This works, but is not as specific as I would like: > >