SFTP

2014-10-27 Thread Schwartz, Peter W
I'm trying to locate an SFTP install for Windows (32-bit) but I can't seem to find anything in the PPM for some reason. Does anyone have any recommendations on how to get this for Windows? Peter W Schwartz | Vice President | IB Tech Market | Investment Bank

RE: SFTP

2014-10-27 Thread Schwartz, Peter W
That’s fine. I was looking for a tidy Perl module, but this will work too. Thanks folks. Peter W Schwartz | Vice President | IB Tech Market | Investment Bank | J.P. Morgan | Floor 4, 115 S Jefferson Road, Bldg D, Whippany, NJ | T: +1(973) 793-7407

Re: why does perl critic not like @_

2014-08-19 Thread Robert W Weaver
John wrote: I have just started using perl critic to analyse my code. I have often used @_ as a temporary array like this: [..] Critic complains with 'Always unpack @_ first', why? What is so wrong with this usage? anthony.okusa...@usbank.com gave an excellent response to what perl critic

RE: Perl-Win32-Users Digest, Vol 70, Issue 1

2012-06-05 Thread Robert W Weaver
Barry Brevik bbre...@stellarmicro.com wrote on 06/04/2012 06:34:07 PM: Thank you for the detailed response, even if it is depressing. Don't think of it as depressing, think of it as an opportunity. Gathering all your logs could provide more insight into your environment. Attached is a toy I

Re: Perl-Win32-Users Digest, Vol 70, Issue 2

2012-06-05 Thread Robert W Weaver
perl-win32-users-boun...@listserv.activestate.com wrote on 06/05/2012 03:00:02 PM: A non-text attachment was scrubbed... Name: pullFromEventLog.pl It was a text attachment, you silly little program... Well, I don't know how to get my mailer to send text only, so I can't blame it much. Its

Re: Perl-Win32-Users Digest, Vol 70, Issue 1

2012-06-04 Thread Robert W Weaver
perl-win32-users-boun...@listserv.activestate.com wrote on 06/04/2012 03:00:03 PM: I have a need to determine which client machine a given user (or all users) has logged into the domain from. I'm willing to back into it by starting with all client machines. I'm If you can access via WMI,

RE: Isn't there a way to set variables in a loop?

2012-01-30 Thread Robert W Weaver
Ken Slater kl...@psu.edu wrote: You could just store the names in an array, but I'm assuming you need to access a specific file at some point. I just wanted to follow up and perhaps clarify that. What I read is What I want to do is stick the same drive letter/directory path on the front of

perl won't alarm?

2011-02-23 Thread Robert W Weaver
I have code that executes an external command, vis: eval { local $SIG{ALRM} = sub { die alarm\n }; alarm $TIMEOUT; $text = `$pre_command$host $post_command` || ( $connectOk = 0 ); alarm 0; $errStr = $^E; }; The command hangs for a reason I don't understand (its a PsExec

Cancelling: DoModal vs. DoEvents

2010-01-25 Thread w...@serensoft.com
Short version: When a Cancel/Terminate event returns -1 during Win32::GUI::DoEvents(), how can we percolate that up to the previous DoModal() instance? Long version: When the script is waiting for user input via DoModal and the user clicks Cancel or Terminates the window, we return -1 to mean

Re: How to simulate VB Casting for $perl_objects via Win32::OLE?

2009-12-17 Thread w...@serensoft.com
That looks like a utility to take an existing perl program and convert it to a .NET-savvy executable: http://docs.activestate.com/pdk/8.1/ = click PerlNET link If that's the case, it won't resolve our issue. If it's not the case, we misunderstood. :) On Thu, Dec 17, 2009 at 10:58 AM, Jenda

Re: PerlScript OLE browser [was How to simulate VB Casting for $perl_objects via Win32::OLE?]

2009-12-17 Thread w...@serensoft.com
[mailto:trill...@gmail.com] *On Behalf Of * w...@serensoft.com *Sent:* Wednesday, December 16, 2009 3:11 PM *To:* Jan Dubois *Cc:* perl-win32-users@listserv.activestate.com *Subject:* PerlScript OLE browser [was How to simulate VB Casting for $perl_objects via Win32::OLE?] Thanks Jan

How to simulate VB Casting for $perl_objects via Win32::OLE?

2009-12-16 Thread w...@serensoft.com
Hi -- Short version: how can we simulate .NET/VB object-type CASTing, in Win32::OLE Perl? Long version: We're building a bridge between a java-web-app and a .net-based-desktop app. Perl is the glue language of choice, of course :) Where we've got trouble is that the .net programmers tell us we

PerlScript OLE browser [was How to simulate VB Casting for $perl_objects via Win32::OLE?]

2009-12-16 Thread w...@serensoft.com
the interfaces from there, then you won’t be able to access them via Win32::OLE either. Cheers, -Jan *From:* perl-win32-users-boun...@listserv.activestate.com [mailto: perl-win32-users-boun...@listserv.activestate.com] *On Behalf Of * w...@serensoft.com *Sent:* Wednesday, December 16, 2009 11

Re: Perl-Win32-Users Digest, Vol 28, Issue 8

2008-11-20 Thread Robert W Weaver
Foo JH [EMAIL PROTECTED], on 20 Nov 2008 10:40:13 +0800 wrote: Fish, David wrote: Hello! The problem I am having is I am pulling data from a table in a certain order and loading it into the hash array but when I read the hash array it comes out in a different order than it is written.

Re: printing html with hardcoded page breaks ???

2008-05-21 Thread Robert W Weaver
[EMAIL PROTECTED] wrote on 05/21/2008 03:00:25 PM: Date: Tue, 20 May 2008 16:39:53 -0500 From: Mike Schleif [EMAIL PROTECTED] Subject: printing html with hardcoded page breaks ??? How can I build a web page that, when printed, breaks the web page into multiple printed pages, which break at

RE: How to change dir using SFTP or SSH

2008-05-19 Thread Sturdevant, Robert W Mr CTR USA AMC
issue. Anyway, thanks for the help...much appreciated. Sturdy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Raven Sent: Monday, May 19, 2008 5:21 AM To: perl-win32-users Subject: RE: How to change dir using SFTP or SSH Sturdevant, Robert W Mr CTR USA

How to change dir using SFTP or SSH

2008-05-16 Thread Sturdevant, Robert W Mr CTR USA AMC
Hi list, I have a perl (5.6) SFTP client (Net::SFTP) that gets and puts files using either a full or relative path with the filename something like this $sftp-get( $remotename, $localname ); # where $remotename = '/Home/OUT/myfile.txt' But I have a remote system (a unix box) that rejects the

FW: How to change dir using SFTP or SSH

2008-05-16 Thread Sturdevant, Robert W Mr CTR USA AMC
] On Behalf Of Sturdevant, Robert W Mr CTR USA AMC Sent: 16 May 2008 15:55 To: perl-win32-users Subject: How to change dir using SFTP or SSH Hi list, I have a perl (5.6) SFTP client (Net::SFTP) that gets and puts files using either a full or relative path with the filename something like

Re: Perl-Win32-Users Digest, Vol 19, Issue 15

2008-02-25 Thread Robert W Weaver
David Golden [EMAIL PROTECTED] wrote on 02/23/2008 03:00:19 PM: Well, it was written to be clever, not maintainable. :-) Point taken. I did mention that I was probably going to far in what was just a game. :-) In response to Conway: clever algorithms are good; clever code is not so good.

Re: discussing good style

2008-02-22 Thread Robert W Weaver
exceptions too with the use of 'use Fatal'. This is pretty cool. Now #!perl -w use strict; use Fatal qw(open); open my $fh, '', 'foo.bar'; print Hi, Mom!\n; when executed, yields C:\Documents and Settings\Administrator\My Documents\random perltest.pl Can't open(GLOB(0x226268), , foo.bar): No such file

Need OLE COM/Variant help

2007-04-12 Thread robert . w . sturdevant
Hi List, I am using Win32::OLE to access a custom COM interface (Secure FTP Server by GlobalSCAPE). Mostly I have been successful after much reading, experimentation and gnashing of teeth but how to retrieve a VARIANT array totally escapes me. The only interface description I have is this IDL:

RE: Need OLE COM/Variant help

2007-04-12 Thread robert . w . sturdevant
Hi Kevin, Thanks for the quick response. And of course it works. I thought I had tried this too but just went back and discovered I had transposed @$ to $@ (when converting the array) and of course another error due to a careless mistake. That's what happens when you look at something too long.

RE: Resolved - Question about Win32::OLE

2006-05-26 Thread robert . w . sturdevant
Title: RE: Resolved - Question about Win32::OLE After screwing up the last two days, I now have this well embedded in my mind. Wel, at least until I have another memory dump. This list is a great resource. Best to all, Sturdy -Original Message- From: Timothy Johnson

RE: Question about Win32-OLE

2006-05-25 Thread robert . w . sturdevant
Title: Question about Win32-OLE Hi Timothy, Thanks for the response. Here is the error trapping added (changed die to warn) which produces the output as I originally stated. $SFTPServer-connect( $Server, $Port, $UserName, $Password ) or warn Could not connect as $UserName to

RE: Question about Win32-OLE

2006-05-25 Thread robert . w . sturdevant
Title: RE: Question about Win32-OLE Hi Nick, Thanks for your thoughts (it was a looong day). I did both. I trapped LastError after instantiating the object and new() does not throw an error. However, I can't tell if it is occurring correctly. Sturdy -Original Message- From:

RE: Question about Win32-OLE

2006-05-25 Thread robert . w . sturdevant
Title: Question about Win32-OLE Hi Jan, Thanks for the assist. I apologize for the HTML. I'm using Outlook and it is set for "Plain Text" so I don't yet know where the HTML is coming from. This is a company computer so much of the configuration is locked in. I'll try to find the

Resolved - Question about Win32::OLE

2006-05-25 Thread robert . w . sturdevant
Title: Resolved - Question about Win32::OLE First, thanks to all who offered their assistance. I spent many hours trying to make my simple test script work...and it does (did)! Darn thing had been working all the time (very embarassing). The problem seems to be die or warn in this line:

RE: Resolved - Question about Win32::OLE

2006-05-25 Thread robert . w . sturdevant
Title: RE: Resolved - Question about Win32::OLE Hi Nick, Take a look at the API doc for whatever SFTP program you are accessing; it may be returning values you are not expecting. After you instantiate via the new method in OLE you are passed back whatever the external program passes

Question about Win32-OLE

2006-05-24 Thread robert . w . sturdevant
Title: Question about Win32-OLE Hi all, I am having a problem accessing a commercial SFTP server app (non-MS). My code is below. I can instantiate the object but the connect method refuses to establish the connection. use Win32::OLE; my $Server = localhost; my $Port = 1000; my $UserName

RE: Re[2]: Does NET::SFTP work on Win32?

2006-05-17 Thread robert . w . sturdevant
Title: RE: Re[2]: Does NET::SFTP work on Win32? Thanks Christopher and others for the response. I installed from Soulcage.net (thanks Scott) without a problem so all looks good. Chris, I successfully (and shamelessly) tested with your example with a few local changes. There is a lot of

Does NET::SFTP work on Win32?

2006-05-16 Thread robert . w . sturdevant
Hi all, I have a perl ftp client that connects to IIS and I need to update the client to use a secure means of transfer to a SSH/SSL server. All I need to do is open, login, send, get, and size for files on a remote box. I have net::sftp and net::ssh::win32 and other associated modules

RE: Problem identifying Win32 Type

2006-02-08 Thread Sturdevant, Robert W. C-E LCMC SEC-Lee SSC
Hi Howard, thanks for the response. This ought to be pretty simple, BUT... I looked at Win32::GetOSVersion() several months ago but it doesn't seem to differentiate between Win 2000 Svr and Pro. Here is a quick example that provides the same output for both Svr and Pro. It doesn't appear to pull

Problem identifying Win32 Type

2006-02-07 Thread Sturdevant, Robert W. C-E LCMC SEC-Lee SSC
Hi list, I need some help identifying Win 2000 Pro installations in my Perl script. Win 2000 Svr is not a problem. Here is what I am doing. MS has GetType.exe as part of the W2k Resource Kit. But when run on 2000 Pro from Perl script (at least mine) I get an invalid response. I have

re: ADO Query using parameters and MS Access

2005-07-02 Thread John W Wilson
Thanks for all the suggestions. After checking them all I went back to RTFM. I discovered there is a simpler, alternative way to passing parameters into a stored procedure. Instead of trying to create and append parameters, simply pass the parameter values as a list when you populate the

ADO Query using parameters and MS Access

2005-06-28 Thread John W Wilson
I'm trying to return recordsets from predefined parameterised queries in MS Access. I've read all the posts, checked my code, but try as I might I can't get a parameter query to return me a recordset. What am I doing wrong? The following code fails with Can't call method EOF on an undefined

Re: Build warnings and test failures for perl 5.8.6

2005-01-03 Thread Randy W. Sims
Robert Johnson wrote: Sisyphus(Rob), et. al., This is my second try to build the stable perl -- same problems. New thread for clarity. I'm building Perl 5.8.6 again on my Windows XP box (factory Dell dimension 2yrs old standard stuff). Compiled it with with MinGW (3.1.0) using dmake (4.1

Another unhandled exception question

2004-12-28 Thread Sturdevant-Contractor, Robert W
Hi List, My apologies...I'm reposting this do to a subscriber problem that I hope is corrected. I'm having some success using the Win32::API module for the first time but Perl throws an Application Error popup and aborts on the following: Here is the prototype: int CFinished( void );

RE: Another unhandled exception question

2004-12-28 Thread Sturdevant-Contractor, Robert W
-Contractor, Robert W Cc: perl-win32-users Subject: Re: Another unhandled exception question Sturdevant-Contractor, Robert W wrote: Hi List, My apologies...I'm reposting this do to a subscriber problem that I hope is corrected. I'm having some success using the Win32::API module for the first

Re: Perl-Unicode beginner...

2004-12-17 Thread Theron W Stanford
Unicode first, and pass that? My suggestion: Stay 16-bit as much as possible on the C side. Use the W versions, not the A versions, or else you'll have to worry about code pages and MBCS and all that other yucky stuff. (Of course, if you use TCHAR instead of char everywhere and compile

[OLE] licensed automation servers

2004-12-11 Thread Theron W Stanford
Sometimes an automation server requires submitting a license to create an object. (In C/C++, this means going through IClassFactory2::CreateInstanceLic instead of IClassFactory::CreateInstance.) Does Win32::OLE have a way to handle this? Or can it only create objects from servers that don't

Parsing strings like the Windows shell

2004-11-07 Thread Randy W. Sims
: [Module::Build] ANNOUNCE: 0.2601 - CPAN Date: Sun, 07 Nov 2004 14:17:14 -0500 From: Randy W. Sims [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: Ken Williams [EMAIL PROTECTED] CC: [EMAIL PROTECTED], [EMAIL PROTECTED], Perl - Module-Build [EMAIL PROTECTED] References: [EMAIL PROTECTED] [EMAIL

Re: wget in scripts

2004-11-07 Thread Randy W. Sims
Malcolm Mill wrote: Hi, Can anyone help me with this. I'm using wget, a perl script and a shell script to download files from serveral directories on a web server. The URLs I'm passing to wget are of the form: http://www.foo.br/001/ - http://www.foo.br/050/ Untested: #!/usr/bin/perl use

Re: Mark's brain teasing JAPH

2004-10-21 Thread Randy W. Sims
On 10/21/2004 10:55 PM, Allegakoen, Justin Devanandan wrote: --8--- #$_=q;steal Porch Junk;;split//;$_=q=cd0153e71; #s/56s/45;39fs/=;y;\;s/;a28s/;;;s;$/;;;s((.))/; #q.$_[..$..$_[10].$_[2].q.x..q.($1)]./gee/print --8--- Does the following help? $_='steal Porch Junk';

Re: The old \015 problem

2004-10-07 Thread Randy W. Sims
On 10/7/2004 6:05 PM, David D Miller wrote: Where do I find this wonderful little tool? I looked for it on DOS and Unix without any luck. Not part of the perl delivery I guess. Just use perl: perl -lpe 'tr/\015//d' newfile.pl or tr tr -d \015 oldfile newfile

Re: perl.exe - Entry Point Not Found

2004-07-29 Thread Randy W. Sims
On 7/29/2004 4:37 PM, Glenn M Dowling wrote: My co-worker recently installed ActiveState Perl v5.8.4 on a WinNT 4 member server. When she tried to run a local script, she got the following error message: perl.exe - Entry Point Not Found The procedure entry point GlobalMemoryStatusEx

[Attn: Kevin Gidney] Re: Out of Office AutoReply

2004-07-29 Thread Randy W. Sims
[Despite much hate (and fan) mail...] I am currently out of the office until Monday 16th of August. I will not have access to email or be available on my mobile. I will endeavour to answer any email at the earliest opportunity. If you have an urgent question please call +44 208 758-6300 and ask

[Attn: Gary Begin] Re: Out of Office AutoReply

2004-07-29 Thread Randy W. Sims
I am out on vacation until Monday August 9, 2004. If you need immediate assistance please contact Jason Sanford at ext 6049, Thanks, Gary Gary Begin AVP, Database Administrator Information Technology Banknorth Group mail to: [EMAIL PROTECTED] Please disable your Out of Office AutoReply

[Attn: Jonathan Epstein] Re: Out of Office AutoReply

2004-07-29 Thread Randy W. Sims
I will be out of the office through August 5th, 2004. If you have questions that pertain to the Unit on Biologic Computation, please contact Jack Chen ([EMAIL PROTECTED]). I expect to read mail every few days. I will make a special effort to check and approve postings to the NIH Proteomics

Re: file handle strangeness

2004-07-18 Thread Randy W. Sims
On 7/18/2004 2:22 AM, Glenn Linderman wrote: use strict; use warnings; # sub hexdump { return ( ': 33 33 33 33 33 33 33 33 ' . \n ); } # my $fh = *STDOUT; print '' . hexdump (); print hexdump (); print $fh ''

Re: file handle strangeness

2004-07-18 Thread Randy W. Sims
On 7/18/2004 2:22 AM, Glenn Linderman wrote: use strict; use warnings; # sub hexdump { return ( ': 33 33 33 33 33 33 33 33 ' . \n ); } # my $fh = *STDOUT; print '' . hexdump (); print hexdump (); print $fh ''

[Attn: Desai, Sheetal] Re: Out of Office AutoReply: file handle strangeness

2004-07-18 Thread Randy W. Sims
On 7/18/2004 2:36 AM, Desai, Sheetal A wrote: I am on currently on maternity leave. Please forward all QTS or Work Request System issues or questions to Jeff Gordon (51669). If its an emergency during off business hours please call the hot phone at (684-7124) Please turn off your Out of Office

[Attn: Strohmeier Ruediger] Re: Out of Office AutoReply: file handle strangeness

2004-07-18 Thread Randy W. Sims
On 7/18/2004 2:36 AM, Strohmeier Ruediger wrote: Hello! I am out of office July 15. In really urgent cases, please contact Gunther Döhler on extension 26035. Please turn off your Out of Office AutoReply for the perl-win32-users mailing list. Randy. ___

[Attn: SANTA Giovanni] Re: Out of Office AutoReply: file handle strangeness

2004-07-18 Thread Randy W. Sims
On 7/18/2004 2:36 AM, SANTA Giovanni wrote: I am out of office until next 16th August Please turn off your Out of Office AutoReply for the perl-win32-users mailing list. Randy. For any questions about: SMTP [EMAIL PROTECTED] [EMAIL PROTECTED] LAN-WAN Monitoring Reporting [EMAIL PROTECTED]

[Attn: Anderson, Mark] Re: Out of Office AutoReply: file handle strangeness

2004-07-18 Thread Randy W. Sims
On 7/18/2004 2:36 AM, Anderson, Mark (Service Delivery) wrote: I am currently out of the office until Monday 26th July Should you require any immediate assistance please contact either Darren O'Hara (0131 523 2504) or Sean Cooney (0131 523 4076) who will be happy to help, otherwise I will respond

[Attn: McCarty, Michael F] Re: Out of Office AutoReply: file handle strangeness

2004-07-18 Thread Randy W. Sims
On 7/18/2004 2:36 AM, McCarty, Michael F wrote: I will be out of the office Thursday July 15 and Friday, July 16, returning on Monday, July 19. Please turn off your Out of Office AutoReply for the perl-win32-users mailing list. Randy. ___

Re: Compile XS module on Win32

2004-04-26 Thread Randy W. Sims
On 4/26/2004 6:27 PM, Roy Huggins wrote: Okay, the problem seems to be that the toolkit download does not include msvcrt.lib. It needs to be findable before you run Makefile.PL. The SDK does not include this file, either. It only has the 64 bit version. So I got a copy of the libs, headers, etc

Re: request: SOAP::Lite parameter passing question.

2004-04-15 Thread Randy W. Sims
Please do not post messages below the signature (A line containing only two dashes followed by a single space). Many MUAs treat the signature special. For example mine draws the text in a light grey that is difficult to read, and when responding it strips out the signature. Thank you, Randy.

Re: Array from a string.

2004-03-31 Thread Randy W. Sims
On 3/31/2004 11:17 PM, Jan Dubois wrote: Core module should not be in the PPM repository at all. Even if did manage to install them, they would still not become active as they install into the site/lib tree, but the lib tree appears first in @INC. With the dual-lifing of the core modules, maybe

Re: prefix string matching (and compression)

2004-03-25 Thread Randy W. Sims
On 3/25/2004 11:50 PM, Glenn Linderman wrote: For sorted lists of text, like dictionaries, one quick-to-decode technique that saves a fair amount of space, is to start each string with the number of bytes that match the previous string, and then append the remainder of the string. In other

Re: Brain fade day!

2004-03-19 Thread Randy W. Sims
On 03/19/04 08:14, Beckett Richard-qswi266 wrote: Guys, I must have brain fade, 'cause I can't work out how to do this... I get a geometry string with my $geom = $mw - geometry; which gives $geom = 104x28+619+498. I want $geom to be just the +619+498 part of above. It seems silly to do it like

Re: Module Test Suites

2004-02-26 Thread Randy W. Sims
I'm just catching the tail end of this thread, so I hope I'm understanding. On 02/26/04 03:11, Sisyphus wrote: Randy Kobes wrote: On Thu, 26 Feb 2004, Sisyphus wrote: 'perl -Mblib t\test1.t' works fine. But is it possible to get 'make test' to automatically run that command (for each and every

Re: CPAN and Activestate Modules compatibility

2004-02-25 Thread Randy W. Sims
On 2/24/2004 2:19 PM, Capacio, Paula J wrote: On 02/23/04 22:29, Kamal Ahmed wrote: Dear Perlers, I have found that just copying the .pm modules which I untared On 02/23/04 23:35, Randy W. Sims wrote: This is a very, very, very bad habit which some people have adopted. This will not always

Re: CPAN and Activestate Modules compatibility

2004-02-23 Thread Randy W. Sims
On 02/23/04 22:29, Kamal Ahmed wrote: Dear Perlers, I have found that just copying the .pm modules which I untared This is a very, very, very bad habit which some people have adopted. This will not always work correctly even for pure perl module. Sometimes files must be passed through a filter

Command line arg monitor

2004-01-22 Thread Sturdevant-Contractor, Robert W
Hi all, I would like to develop a win32 service that intercepts certain command line args from the call/chain function of 16-bit DOS app something like this. My16BitApp ServiceName Arg1 Arg2 Much the same as system or exec but instead of executing a program called ServiceName, I'd like to wake

Re: Perl 5.8 problems with print

2003-12-20 Thread Randy W. Sims
On 12/20/2003 8:52 AM, Ken Brown wrote: code print Processing Data ; while (condition) {do something}; print Finished\n; Question why do I not see any output until I send Finished\n when running the .pl or the perlapp equiv but if I call with -d (PDK) it works perfectly? Try turning on output

Re: subroutine name

2003-12-19 Thread Randy W. Sims
On 12/19/2003 3:41 PM, Eckart Uhlig wrote: Hi all, is there a way to determine the name of the current called subroutine? I don't want to print out the subroutine's name explicitly, I'm hoping for a 'magic' variable/ function or something like that, which I can pass to a plain printout function.

Re: Net::POP3 with non-default port number?

2003-12-19 Thread Randy W. Sims
On 12/19/2003 3:49 PM, Peter Davis wrote: I've been using Net::POP3 in my own e-mail fetching script for a while. Now, however, I want to modify the script to use the K9 proxy for spam filtering. This proxy requires, among other things, that I use port instead of the default port of 110.

Re: unlink

2003-12-16 Thread Randy W. Sims
On 12/16/2003 10:14 PM, Eric Edwards wrote: Hey Listers- This is not homework. I am teaching myself perl. Question: Does the unlink command not work on windows? The book I am using has some code examples using it but I am wondering if it might be UNIX specific. I hope my code isn't that bad.

Re: unlink

2003-12-16 Thread Randy W. Sims
On 12/16/2003 11:04 PM, Eric Edwards wrote: - Original Message - From: Randy W. Sims [EMAIL PROTECTED] To: Eric Edwards [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 9:35 PM Subject: Re: unlink On 12/16/2003 10:14 PM, Eric Edwards wrote: Hey Listers

Re: unlink

2003-12-16 Thread Randy W. Sims
[To respond select the Reply-All option in your mail client to respond to the mailing-list, and please post your response at the end of the message your responding to. Thanks.] On 12/16/2003 11:33 PM, Eric Edwards wrote: - Original Message - From: Randy W. Sims [EMAIL PROTECTED

RE: 502 error occurred in IIS 4.0

2003-08-14 Thread Vuillemot, Ward W
Title: Message I am not a IIS guru -- I prefer Apache; so take my research with a grain of salt. But that aside, I tried Google with the following query: IIS 10 simultaneous connections perl The groups is:

Win32::GUI Docs

2003-07-29 Thread Vuillemot, Ward W
All, Where is a definitive guide to all the Win32::GUI methods? I stumbled across BrowseForFolder...but I cannot find anywhere that tell me all that I can do. Or is there some MS docs I can refer to? Thanks in advance. Cheers, Ward ___

Re: Something like File::Sync on Win32?

2003-03-20 Thread Randy W. Sims
On 3/20/2003 6:13 PM, Sivakumaran Raman wrote: I am sending output to a printer using the following method: sysopen( PRINTER, //TOSHIBA-Siv/My_Printer, O_WRONLY ) or die( Failed to open PRINTER\n ); print PRINTER @completefile ; close( PRINTER ) or die(Cannot close file\n); I have also set $|

Re: Help on Find and Replace

2003-01-31 Thread Randy W. Sims
On 1/31/2003 4:51 AM, Ahmed, Mubariz wrote: Hi, I have problem with find and replace. Below is the script $src=c:\\mub\\mubwork; $inter=c:\\mub\\mubwork\\test\\tets1; $dest=c:\\mubariz\\dpgdata; $inter=~s/$src/$dest/; # Result should be c:\mubariz\dpgdata\test\tets1 $inter=~s/\Q$src\E/$dest/;

Re: sort a table

2003-01-29 Thread Randy W. Sims
On 1/29/2003 1:14 PM, Joseph P. Discenza wrote: Andrew Mansfield wrote, on Wednesday, January 29, 2003 13:00 : I have a list of data read in from a text file in which each line has the : following format: : : time status type first_name last_name machine_name : : where each value is separated

Re: Counting regex occurrences

2002-12-14 Thread Randy W. Sims
On 12/14/2002 10:02 AM, Bill Royds -Perl wrote: The key is $count = () = $string =~ /a/g; Which creates a list context for return of match operator $string =~/regex/g Then the $count= is asking for a scalar context return of a list, which we all know returns the count of elements in list.

RE: Counting regex occurrences

2002-12-12 Thread Vuillemot, Ward W
Try code #!/usr/bin/perl -w # just makes good sense to use use strict; # declare variables before we use my ($a, $b) = ''; # just a scalar with some characters in it $a = 'a b c d a d e f a g h i z a'; # note the () around RHS of the statement # makes the result an array which then get forced

RE: [Perl-Win32-Users]Windows Control Panel / Add/Remove Programs ?

2002-11-22 Thread Vuillemot, Ward W
Since coincidence happens by designI have been wondering the same thing -- well, I wanted to modify the ENV VAR PATH to include the newly installed application. I am not a strong Windows programmer, but I was looking through the registry hash for something to poke using Win32::TieRegistry. I

Unexpected Win32::OLE error on closing an Excel Workbook

2002-11-15 Thread Brian W Smith
to work but now doesn't while the new form (syntax 1) does work, and what if I had more than one workbook open and only wanted to close one of them? Best Regards Brian W Smith ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http

Am I Barking? Or can I kick off another application from a Browser?

2002-11-15 Thread Brian W Smith
this without having to set up a web server and write or find some CGI scripts? At the moment all the viewer needs to do is open the index.html and view away so it is hardly a candicate for a web server, especially as we are all on the same internal network. Any input would be welcome. Best Regards Brian W

Re: getopt arrgh!!

2002-11-14 Thread Randy W. Sims
[EMAIL PROTECTED] wrote: I've been trying for an hour or so to use Getopt::Long, but I just don't get it... I've been reading FAQ's docs but I need some more examples to know how it works. Well, I want to process arguments like: perl command.pl arg_needed [ --flag1 one=something two=otherthing

RE: Mail Question.

2002-11-05 Thread Herbold, John W.
time, I will do some more research along the lines you mentioned. Thanks ! John W. Herbold Jr. IS Specialist/DBA -Original Message- From: Carl Campbell [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 05, 2002 11:55 AM To: perl win32 users Subject: RE: Mail Question

Mail Question.

2002-11-01 Thread Herbold, John W.
Anybody know of a way to get Perl to check a mail box that is different than the account name? Thanks, John Herbold IS Specialist/DBA

pod2html: How can I pass raw html through untouched?

2002-09-11 Thread Brian W Smith
ideas anybody? Best Regards Brian W Smith ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: Sendkeys and strange program behavior

2002-08-01 Thread Randy W. Sims
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Michael D. Smith Sent: Thursday, August 01, 2002 12:38 PM To: [EMAIL PROTECTED] Subject: Sendkeys and strange program behavior I've been using sendkeys to start some username/password programs. A

perldoc

2002-07-24 Thread Randy W. Sims
|-m|-l) on the command line, it will override the PERLDOC -n setting. The output of ``diff -u perldoc.bat.orig perldoc.bat'' follows: Thanks, Randy W. Sims --- perldoc.bat.orig2002-07-02 20:06:42.0 -0400 +++ perldoc.bat 2002-07-24 22:32:50.0 -0400 @@ -83,7 +83,7 @@ -r

RE: Help Accessing A:

2002-07-18 Thread Sturdevant-Contractor, Robert W
: Thursday, July 18, 2002 10:53 AM To: Sturdevant-Contractor, Robert W; perl-win32-users Subject: RE: Help Accessing A: -Original Message- Behalf Of Sturdevant-Contractor, Robert W snip2... Thanks for the response...ya, it does sound like the file is not being closed. However, please

RE: Help Accessing A:

2002-07-18 Thread Sturdevant-Contractor, Robert W
-Original Message- From: Will Woodhull [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 11:36 AM To: Sturdevant-Contractor, Robert W Subject: Re: Help Accessing A: The OS is warning you that the floppy you had been working with has been swapped for another. You could add a system command

Resolution of Problem With Accented Characters in Filenames

2002-06-28 Thread Brian W Smith
, and File::stat was only needed for the way I wanted to deal with the information. My thanks to them. Best Regards Brian W Smith ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

NOT Resolution of Problem With Accented Characters in Filenames

2002-06-28 Thread Brian W Smith
missing something fundamental here? Best Regards Brian W Smith ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: IE/OLE - properties methods questions

2002-05-25 Thread Randy W. Sims
-Original Message- Hello, I'm using Win32::OLE to work with IE. I've looked through the docs at MSDN and the archives here, but I didn't find my answer so I don't know if these requests are possible or not. 1) I'd like to disable view source via right click (w/o resorting

RE: FAQ

2002-05-22 Thread Herbold, John W.
I have to say, that I like the idea of an auto-responder for the following reasons. 1) People will always post a question to the list with out researching. 2) There is nothing anybody can do about #1. 3) A FAQ with every answer in the world does no good if people do not check it before

RE: Looping

2002-03-16 Thread Will W
Malcolm Debono wrote on Saturday, March 16, 2002 5:44 AM snip #!/usr/bin/perl A suggestion: check into changing the above to #!/usr/bin/perl -w (this is the -w command line switch which is probably indexed under W in your basic Perl reference-- at least it is in the Camel) snip

Re: Off Topic

2002-02-22 Thread Will W
karthikeyan [EMAIL PROTECTED] wrote on Friday, February 22, 2002 6:05 PM Subject: Re: Off Topic Hi, You keep asking off-topic questions to this list. What do you meant by keep? What does this have to do with Perl ? This is nothing to do with Perl that why Off Topic are you blind?

Re: pack

2002-02-21 Thread Will W
: _Programming perl, third ed_, pg 666 (so I guess its sort of black magic). The above bit also shows that $. does work in this mode. --Will Carl Jolley wrote on Thursday, February 21, 2002 1:35 PM Subject: Re: pack On Thu, 21 Feb 2002, Will W wrote: Sisyphus wrote on Wednesday, February 20

Re: Creating an executable from Perl

2002-02-19 Thread Will W
Nichols, Ron wrote on Tuesday, February 19, 2002 7:52 AM Subject: Creating an executable from Perl snip I ran the script through the pl2exe.pl conversion to create an executable for distribution to my users. However, when I tested the executable on a machine that did not have Perl

Re: Getting The Screen Size perl TK

2002-02-13 Thread Will W
Picked mine up at BN yesterday, from the order I placed late last week. Looks good... --Will Tillman, James wrote on Sent: Wednesday, February 13, 2002 8:58 AM Subject: RE: Getting The Screen Size perl TK Cheers Guys, I really wish Amazon would hurry up and send me my Advanced Perl/TK

OOP: How can an object find its owner's attributes?

2002-02-06 Thread Will W
$registry is an object containing a $fh filehandle that it is open for appending, and a collection of anonymous $msg objects. Each $msg object contains an anonymous $body object and each $body contains an array of hashes that describe each MIME part of the message. A method in the body object

HELP !

2002-01-25 Thread Herbold, John W.
are starting to point the finger at Perl. We are using Perl to interface with MYSQL (same box) and DB2 databases (Mainframe). Any ideas or suggestions, could it be my beloved Perl? Thanks, John W. Herbold Jr. IS Specialist/DBA ___ Perl-Win32-Users mailing list

Re: Where do I find info?

2002-01-14 Thread Will W
++) { my $inbox = $folder-Folders-Item($y); my $name = $inbox-Name; print--- $name\n; } } } } -Original Message- From: Will W [mailto:[EMAIL PROTECTED]] Sent: Monday, January 14, 2002 4:30 PM To: Hanson, Robert Subject: Re: Where do I find info? Thanks, Rob. I'm off exploring

  1   2   >