AW: Problem Using 'unlink' within Script

2003-07-11 Thread James E Keenan
On Fri, 11 Jul 2003 10:16:46 +0200, [EMAIL PROTECTED] wrote with regard to: AW: Problem Using 'unlink' within Script: > I think, the problem is: the difference between the end write of a file, > and the time in the file to the system is known (and the system the access > through). > If I write a

Re: Status of PerLDAP under perl 5.8

2003-07-11 Thread Curtis Pope
perl-ldap 0,29 works well under perl 5.8. I couldn't find a PPD, so I installed it using CPAN. According to http://perl-ldap.sourceforge.net/FAQ.html you don't even need a compiler (download and extract it manually and run 'perl install-nomake'). Didn't have any trouble with the install until I t

Re: Excel Cell Value Alignment

2003-07-11 Thread work
> Sorry forgot to change the label > >> I am tring to align the test in the cell but it no workie and it is >> driving me nuts >> >> $RangeValue = "J1"; >> $Alignment = "xlCenter"; >> >> $Working_Alignment = $Book->Worksheets($SHEET_NAME); >> $Working_Al

Re: ucfirst lc question

2003-07-11 Thread Randy J. Ray
On 2003.07.11 12:32 Erich C. Beyrent wrote: Hi there, I was hoping someone could come up with an efficient way of doing a ucfirst lc on each word in the block below: 1{0e}TRUE DREAM{0e}6-1{0e}{0e}4{0e}SP'S SLIM SHADY{0e}10-1/l 2{0e}HARLEIGH GIRL{0e}8-1{0e}{0e}5{0e}FLYING SWEET AMY{0e}8-1/l 3{0e}RE

Status of PerLDAP under perl 5.8

2003-07-11 Thread
Title: Status of PerLDAP under perl 5.8 I recently upgraded to ActiveState build 806 (perl v. 5.8.0) and fortunately I kept a copy of build 633 (perl v. 5.6.1) lying around. Fortunately because I, and my co-workers, have made extensive use of the PerLDAP package under build 633. It appears th

ucfirst lc question

2003-07-11 Thread Erich C. Beyrent
Hi there, I was hoping someone could come up with an efficient way of doing a ucfirst lc on each word in the block below: 1{0e}TRUE DREAM{0e}6-1{0e}{0e}4{0e}SP'S SLIM SHADY{0e}10-1/l 2{0e}HARLEIGH GIRL{0e}8-1{0e}{0e}5{0e}FLYING SWEET AMY{0e}8-1/l 3{0e}REKO THEODORE{0e}7-2{0e}{0e}6{0e}MOON MT CHEE

RE: Recursive design

2003-07-11 Thread Jeff Griffiths
> From: Will of Thornhenge [mailto:[EMAIL PROTECTED] "Besides, maybe I'll learn something." I've heard that before, usually coming out of my own mouth. hope you're stocked up on caffeine =) ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubs

Excel Cell Value Alignment

2003-07-11 Thread Ross Matt-QMR000
Sorry forgot to change the label > I am tring to align the test in the cell but it no workie and it is > driving me nuts > > $RangeValue = "J1"; > $Alignment = "xlCenter"; > > $Working_Alignment = $Book->Worksheets($SHEET_NAME); > $Work

RE: Excel and empty rows.

2003-07-11 Thread Ross Matt-QMR000
I am tring to align the test in the cell but it no workie and it is driving me nuts $RangeValue = "J1"; $Alignment = "xlCenter"; $Working_Alignment = $Book->Worksheets($SHEET_NAME); $Working_Alignment ->Range("$RangeValue")->{HorizontalA

Re: Recursive design

2003-07-11 Thread Will of Thornhenge
Roger C Haslock wrote: As usual, its been done before. Look at the modules which support SpamAssassin, and particularly MIME-Tools. Get them from CPAN :-) Ah! Good point-- I can maybe study out how Eryq managed this problem in MIME-Tools. Unfortunately, I can't use MIME-Tools directly with the d

Re: Foreach question.

2003-07-11 Thread Santi
Whenever I need matches over multiples lines I generally read the text into one string (assuming its not too large) and then just match over newlines: $foo = "some input text with newlines..." @matches = $foo =~ /some pattern/sg; read up on the modifiers (s will match newlines), adjust your patte

Using glob

2003-07-11 Thread MOTTER, JEFFREY D
Is it possible to do a "glob" on a directory and get a list of files with a certain extension( *.txt ) and also for a specific modification time? I'm current doing: my @file_list=glob("c:\\rawdata\\*.txt"); But I only want to get files modified on a certain date. Jeff __

Re: Recursive design

2003-07-11 Thread Roger C Haslock
As usual, its been done before. Look at the modules which support SpamAssassin, and particularly MIME-Tools. Get them from CPAN :-) - Original Message - From: "Will of Thornhenge" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 11, 2003 5:38 PM Subject: Recursive design >

Re: Adding Perl 5.6.1 to RH Linux 9 that already has Perl 5.8 installed.

2003-07-11 Thread Sisyphus
- Original Message - From: "Joe Flowers" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, July 11, 2003 9:38 AM Subject: Adding Perl 5.6.1 to RH Linux 9 that already has Perl 5.8 installed. > I have a Red Hat Linux 9 machine that has Per

Re: Foreach question.

2003-07-11 Thread Carl Jolley
On Fri, 11 Jul 2003, Beckett Richard-qswi266 wrote: > Guys, > > This is one I don't know how to approach at all. > > I've read a text file into @lines. > I then process it like this... > > foreach (@lines) { > last if /Next section$/; > next unless (/match$/); > chomp; > pr

Re: Excel and empty rows.

2003-07-11 Thread Carl Jolley
On Fri, 11 Jul 2003, Beckett Richard-qswi266 wrote: > Guys, > > I have sorted out what the problems are, I just don't know how to address > them. > > I am trying to find the first empty row in a spreadsheet. > > If I use this suggestion: > > my $EmptyRow = $sheet->UsedRange->rows->count; > $EmptyR

Terminal Services

2003-07-11 Thread Alex J. Rawlins
I am trying to write a logon script that will set the default printer of the client terminal by the name of the terminal. I am doing this with Win2k and citrix installed on the server, and WYSE terminals (thin clients whose sole purpose is to run ICA sessions). Has anyone already written a scrip

Recursive design

2003-07-11 Thread Will of Thornhenge
I hate recursion. It makes my head hurt. Background: I'm working on reformating .mbox files to convert email archives to HTML and to PDA compatible text. I'm running into problems with the MIME types "multipart/mixed" and "multipart/related". These are umbrella types that can hold an assortment

RE: How to edit an FTPed HTML page?

2003-07-11 Thread Adam R. Frielink
> > Hi > I am able to FTP the file to any local directory on 'MY > Machine'. But the > application should be such that any user can FTP the file to a fixed > location on HIS m/c (say C:\Temp. I will make sure that all > the users have > this directory on their sys.). Then he should edit it

RE: How to edit an FTPed HTML page?

2003-07-11 Thread FARRINGTON, RYAN
Title: RE: How to edit an FTPed HTML page? Example: Computer 1 (your computer) Script.pl     |--- get file and store it in c:\temp Computer 2 (their computer) Script.pl     |--- get file and store it in c:\temp I don't see why it would download to your machine unless you have a

Re: [OT] Some of my posts travel slowly.

2003-07-11 Thread John
Sisyphus wrote: Hi, I posted to the list a post (subject 'RE:about modules') at 10.56am (local time) and the post didn't show up here until after 7.30pm - so it has taken over 9.5 hours. (There's another post I sent off at about the same time, but it hasn't arrived yet. I have however just received

RE: [OT] Some of my posts travel slowly.

2003-07-11 Thread Jon Biddell
For what its' worth, I just received this at 22:25 AEST (GMT +10:00) -=> -Original Message- -=> From: [EMAIL PROTECTED] -=> [mailto:[EMAIL PROTECTED] On -=> Behalf Of Sisyphus -=> Sent: Friday, 11 July 2003 9:34 PM -=> To: [EMAIL PROTECTED] -=> Subject: [OT] Some of my posts travel slow

RE: Excel and empty rows.

2003-07-11 Thread Ross Matt-QMR000
sort the rows so that all the empty rows are at the end and the last row command would do the trick. just a thought Later, Matt -Original Message- From: Beckett Richard-qswi266 [mailto:[EMAIL PROTECTED] Sent: Friday, July 11, 2003 5:53 AM To: perl-win32-users Subject: RE: Excel and empty

[OT] Some of my posts travel slowly.

2003-07-11 Thread Sisyphus
Hi, I posted to the list a post (subject 'RE:about modules') at 10.56am (local time) and the post didn't show up here until after 7.30pm - so it has taken over 9.5 hours. (There's another post I sent off at about the same time, but it hasn't arrived yet. I have however just received notification th