Greedy Regular Expression

2002-07-26 Thread Elliott, Don (Police)
Hi, I'm having some trouble trying to easily remove lines from a data file using a regular expression. I can do it by reading the file in a line at a time then deciding whether to chuck it or write it out. My data looks something like this - ENQ:SIMS RE:ELLIOTT,DONALD ELLIOTT,DONALD,LAWRENCE -

RE: Off-Topic (200%) - Where are you from?

2001-11-13 Thread Elliott, Don (Police)
Having fun in Saskatoon, Saskatchewan, Canada It's mid November, no snow and still above freezing Don Elliott -Original Message- From: Mark Symonds [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 13, 2001 2:13 PM To: [EMAIL PROTECTED] Subject: Re: Off-Topic (200%) - Where are you fro

File::Slurp

2001-07-24 Thread Elliott, Don (Police)
I was just wondering, I have noticed that no one giving advice about accessing, reading, writing files uses the module File::Slurp. I stumbled across it and have been using it for several months. To read a file I say my $var = read_file("some_file"); To write a file I say write_file("some_file",

RE: Tk system modal window

2001-07-18 Thread Elliott, Don (Police)
we set title for $text\n"; Win32::Setupsup::SetWindowText($item,$other); exit 1; } elsif ($action eq 'prop') { my %windowprop; my @proptoget=['text','enabled','extstyle','focused'

Tk system modal window

2001-06-26 Thread Elliott, Don (Police)
Hi all, I have a perl Tk program that displays a prompt line in a window. Does anyone know how to make this line always float to the top. i.e. no other window should be allowed to be displayed over top of it. I am running on windows 2000 with activestate perl build 623 I think this mode is cal

Win32::SetupSup

2001-06-19 Thread Elliott, Don (Police)
Can anyone point me to where I may be able to get the latest version of Win32::SetupSup. I have read good things about it, but have been unable to download a version that works. I am using Activestate build 623. What I want to be able to do is to force a window to have focus and be displayed on t