Re: reading file info of a ms word document

2005-07-14 Thread Ing. Branislav Gerzo (mail-lists)
Tom Beissler [TB], on Thursday, July 14, 2005 at 15:44 (+0200) thinks about: TB i am looking for a way to read the extended properties from TB a MS Winword document such as author, version, or company. TB Is there any perl module that can read this information from TB this file? I haven´t found

Re: counting lines in a text files

2005-06-23 Thread Ing. Branislav Gerzo (mail-lists)
Eric Vercelletto [EV], on Thursday, June 23, 2005 at 09:38 (+0100) wrote: EV obviously first reflex is to use $. EV or at each iteration of foreach $line ( MYFILE) EV $linenumber++ ; maybe setting $/ - The input record separator; newline by default. If set to the null string, it treats

Re: need help with utf8

2005-05-23 Thread Ing. Branislav Gerzo (mail-lists)
[EMAIL PROTECTED] [a], on Monday, May 23, 2005 at 05:12 (UT) wrote: a typical filename in mail message looks like a my $name==?UTF-8?B?0L8xX9C80LXRgdGP0YfQvdCw0Y8ucnRm?=; a i need to convert this to utf8 and then to cp1251 a How precisely to do this ? I think you have to decode this via MIME,

Re: [OT] copy/paste editors (was: strangeness with if blocks)

2005-05-17 Thread Ing. Branislav Gerzo (mail-lists)
$Bill Luebkert [BL], on Monday, May 16, 2005 at 17:06 (-0700) typed: BL May I suggest that The Bat isn't worth your time and effort (I've BL never heard of it). so you should try it :) some days ago is new version outhere v3.5. The bat is really great client from the russian programmers (do you

Re: General question.

2005-04-29 Thread Ing. Branislav Gerzo (mail-lists)
[], on Thursday, April 28, 2005 at 19:05 (+0400) made these points: Is there any serious usage of Perl for Windows? of course, portability is powrful thing. I write scripts under windows, after that I put them on my FreeBSD machine and 99% wof them works. Also regular expressions aren't

Re: general question

2005-04-29 Thread Ing. Branislav Gerzo (mail-lists)
Spencer_Lists [SL], on Thursday, April 28, 2005 at 20:11 (-0700) made these points: SL creation and management. After using perl for about 3 years, it is SL difficult to imagine how I could have lived without it. that's nice. I put in my mailer ctrl+f, ?, enter - nothing found. Where is your

Re: FTP modules

2005-04-29 Thread Ing. Branislav Gerzo (mail-lists)
Kelly Stumbaugh [KS], on Thursday, April 28, 2005 at 09:12 (-0700) thoughtfully wrote the following: KS Does anyone running Perl on Windows recommend a module for FTP? I have KS tried Net::FTP::Common, but I can't get it to work and there isn't much KS in the way of documentation. If you have

Re: general question

2005-04-29 Thread Ing. Branislav Gerzo (mail-lists)
$Bill Luebkert [BL], on Friday, April 29, 2005 at 03:34 (-0700) typed: BL He was responding to an earlier thread. Obviously he didn't follow BL proper etiquette and leave enough of the orig post to allow you to BL figure out what he was responnding to. ah I see now. It is sometime ok, when one

Re: Archive::Zip

2005-04-27 Thread Ing. Branislav Gerzo (mail-lists)
[], on Wednesday, April 27, 2005 at 12:13 (+0400) made these points: same cycle. However, as I understood, Archive::Zip doesn't allow me this simple task. Is that correct, or I misread something? why not use external zip ? I thought about that, as you, and I found external zipping is ok. I

Re: Archive::Zip (2)

2005-04-27 Thread Ing. Branislav Gerzo (mail-lists)
[], on Wednesday, April 27, 2005 at 14:24 (+0400) typed the following: However, I want the script to be portable to other machines which don't have to have appropriate archiver. Deploying the script with archiver is no good either. So? What would you say? I think it will be more common,

Re: How do I make a PPM package? - don't have tar or gzip

2005-04-26 Thread Ing. Branislav Gerzo (mail-lists)
Offer Kaye [OK], on Tuesday, April 26, 2005 at 10:32 (+0300) thinks about: OK In order to create a PPM package, I need to use tar and gzip. However, OK I don't have these tools on Windows. Where can I download a version OK for Windows, or is there an alternate way to create the tarball? You can

Re: Finding the number of CPUs on a windows 2003 terminal server

2005-04-26 Thread Ing. Branislav Gerzo (mail-lists)
Peter Eisengrein [PE], on Monday, April 25, 2005 at 11:01 (-0400) wrote these comments: PE Does $ENV{'NUMBER_OF_PROCESSORS'} have the info you want, or are you looking PE for something else? I don't think this will do job. If you have in bios enabled multithreading, you have in ENV 2 processors.

Re: change IE proxy settings

2005-04-12 Thread Ing. Branislav Gerzo (mail-lists)
Paul Sobey [PS], on Monday, April 11, 2005 at 15:19 (+0100) wrote about: PS There will be an API call, but why not put it in a logon script and PS avoid the necessity for this? If you're doing one-off work use PS Win32::Internet and work that way... ok, thanks for all replies, after some hour

Re: change IE proxy settings

2005-04-11 Thread Ing. Branislav Gerzo (mail-lists)
$Bill Luebkert [BL], on Friday, April 08, 2005 at 04:52 (-0700) thoughtfully wrote the following: BL Check out Win32::Internet instead of using the API: I checked it first, but I think this works only in one perl script (make constructor of $INET connection and using it). I'd like to change

Re: change IE proxy settings

2005-04-11 Thread Ing. Branislav Gerzo (mail-lists)
MJG [M], on Friday, April 8, 2005 at 23:07 (-0500) wrote these comments: M If you have the system.adm file from an active directory server, you can M see how that sets the value. IF you are using a 200/2003 server not in M AD, you can apply that adm locally, or just use AD GPOs to keep it M

Re: change IE proxy settings

2005-04-11 Thread Ing. Branislav Gerzo (mail-lists)
Paul Sobey [PS], on Monday, April 11, 2005 at 12:39 (+0100) thoughtfully wrote the following: PS within Active Directory it's easy to apply the policy via the group PS policy console, but it all ends up as registry keys eventually anyway. I think too. PS Try modifying these in a logon script or

change IE proxy settings

2005-04-08 Thread Ing. Branislav Gerzo (mail-lists)
Hello, I have to change IE proxy settings via perl interface. I searched the web for a long time, found something, coded too, but it doesn't work :) ok, my goal is enable, or disable proxy in IE. Here is code: use strict; use warnings; use Win32::TieRegistry( Delimiter=/, ArrayValues=0 ); use

SFTP / Win 32 troubles

2005-03-23 Thread Ing. Branislav Gerzo (mail-lists)
Hi pals, second day I am working on my trouble: running SFTP under windows 2k3. I have fresh install of perl, v5.8.6 built for MSWin32-x86-multi-thread, first I installed Net::SSH::W32Perl and all dependies. But I didn't find any module for SFTPying for win32, so I install Net::SFTP, but it

Re: SFTP / Win 32 troubles

2005-03-23 Thread Ing. Branislav Gerzo (mail-lists)
Ing. Branislav Gerzo (mail-lists) [IBG], on Wednesday, March 23, 2005 at 09:52 (+0100) wrote about: IBG any module for SFTPying for win32, so I install Net::SFTP, but it IBG always call Net::SSH::Perl. How to change SFTP to calling W32Perl ? I get it. I changed in SFTP.pm: use Net::SSH::W32Perl

Re: SFTP / Win 32 troubles

2005-03-23 Thread Ing. Branislav Gerzo (mail-lists)
Sisyphus [S], on Wednesday, March 23, 2005 at 20:14 (+1100) contributed this to our collective wisdom: S Have you tried using the ppm packages from http://www.soulcage.net/ppds/ ? S (There's a ppm package there for Net::SFTP as well as everything else you S need.) yes, that works nice too. But I

Re: How do I compare and get difference of two arrays

2005-02-25 Thread Ing. Branislav Gerzo (mail-lists)
Mungamuru, Sasi Kiran Kumar [MSK], on Friday, February 25, 2005 at 13:44 (+0530) wrote about: MSK     How Do I compare and get difference of two MSK arrays as my both arrays carries scalar values and my output MSK should be stored to another array. Nice answer is from perl cook book:

Re: Reg. expression help

2005-02-16 Thread Ing. Branislav Gerzo (mail-lists)
Hsu, David [HD], on Wednesday, February 16, 2005 at 10:26 (-0500) thoughtfully wrote the following: HD Can someone help me with the syntax of deleting the last word of text HD string. HD i.e. $string = 'my abc 123' HD Like to have only 'my abc' my $string = 'my abc 123 f '; $string =~

Re: perl program

2005-01-25 Thread Ing. Branislav Gerzo (mail-lists)
reshma ai [ra], on Tuesday, January 25, 2005 at 08:30 (+ (GMT)) typed the following: ra how to run a perl program every 5 min on windows platform I don't recommend to you use windows scheduler. Use cron instead. You can find windows port of cron at: