RE: Change in "goto" behavior

2005-07-14 Thread Cliff Bamford
Dijkstra should have titled his letter "Stupid programmers considered harmful". A good programmer will write good code no matter how liberal the language, and a bad programmer will write bad code no matter how restrictive the language. Since someone asked, there's one situation where goto's are t

Re: Change in "goto" behavior

2005-07-14 Thread Michael Erskine
On Thursday 14 July 2005 03:26, Hugh Loebner wrote: > My previous message was attached to the wrong posting. > > I doubt very much whether there is any occasion where gotos are "most > appropriate." Please provide an example. TMTOWTDI :) -- Do nothing unless you must, and when you must act --

Re: Weird behaviour with Mozilla Firefox

2005-07-14 Thread $Bill Luebkert
Kamphuys, ing. K.G. (Koen) wrote: > Thanks Bill, brilliant move to have a BEGIN block to send out the content > type. Why are solutions so simple that I don't think of them myself. I > manage to get some neat errors messages now that indicate that a module > called misbehaves. I know which modu

Unsubscribe

2005-07-14 Thread Wilfred Li
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] m] On Behalf Of Cliff Bamford Sent: Thursday, July 14, 2005 12:03 AM To: perl-win32-users@listserv.ActiveState.com Subject: RE: Change in "goto" behavior

RE: Weird behaviour with Mozilla Firefox

2005-07-14 Thread Kamphuys, ing. K.G. (Koen)
...It still makes no sense that with MSIE and Opera and LWP::Simple the error messages just are not printed, even with the content type in the BEGIN block, and thus the errors seem not to occur, and that they come from a module that's neither used or called... anyhow, I don't have time to find out

Re: Weird behaviour with Mozilla Firefox

2005-07-14 Thread $Bill Luebkert
Kamphuys, ing. K.G. (Koen) wrote: > ...It still makes no sense that with MSIE and Opera and LWP::Simple the > error messages just are not printed, even with the content type in the BEGIN > block, and thus the errors seem not to occur, and that they come from a > module that's neither used or calle

Win32::API and CreateProcess - strange intermittant problems

2005-07-14 Thread Paul Sobey
Guys, I have a threaded service written in perl which spawns a child process and sends STDOUT/STDERR to disk via windows anonymous pipes. The service works perfectly in test, and has now gone live across several servers in our company. The service uses Win32::API to call the api CreateProcess func

Re: Change in "goto" behavior

2005-07-14 Thread Lloyd Sartor
"$Bill Luebkert" <[EMAIL PROTECTED]> wrote on 07/13/2005 10:36:04 PM: > > In structured programming practice, a goto would be totally inappropriate. > > But ... when you look at how a switch is implemented in actuality, it's > full of goto's. > > I guess the point is that you should leave the

reading "file info" of a ms word document

2005-07-14 Thread Tom Beissler
Title: Nachricht Hi,i am looking for a way to read the extended properties from a MS Winword document such as "author", "version", or "company". Is there any perl module that can read this information from this file? I haven´t found anything by googleing the web. Any suggestions?   lg,   Th

Re: Win32::API and CreateProcess - strange intermittant problems

2005-07-14 Thread $Bill Luebkert
Paul Sobey wrote: > Guys, > > I have a threaded service written in perl which spawns a child process > and sends STDOUT/STDERR to disk via windows anonymous pipes. The service > works perfectly in test, and has now gone live across several servers in > our company. The service uses Win32::API to

Re: reading "file info" of a ms word document

2005-07-14 Thread Chris Rogers
Check out this webpage, it might help: http://user.cs.tu-berlin.de/~schwartz/pmh/ldat-out.html On 7/14/05, Tom Beissler <[EMAIL PROTECTED]> wrote: > Hi, > i am looking for a way to read the extended properties from a MS Winword > document such as "author", "version", or "company". > Is there any

RE: Win32::API and CreateProcess - strange intermittant problems

2005-07-14 Thread Paul Sobey
> Can you get by without the pipe and do something simpler with a file > and Win32::Process ? : > > use Win32::Process; > > my $pObj; > my $file = "C:\\test.log"; > > Win32::Process::Create($pObj, "$ENV{WINDIR}\\system32\\cmd.exe", > "cmd /C dir 2>&1 >$file", 0, NORMAL_PRIORITY_CLASS, "C:\\")

Re: reading "file info" of a ms word document

2005-07-14 Thread Reinhard Pagitsch
Hello Tom, Tom Beissler wrote: Hi, i am looking for a way to read the extended properties from a MS Winword document such as "author", "version", or "company". Is there any perl module that can read this information from this file? I haven´t found anything by googleing the web. Yes: Win32::F

Re: reading "file info" of a ms word document

2005-07-14 Thread Reinhard Pagitsch
Hello Tom, Tom Beissler wrote: Hi, i am looking for a way to read the extended properties from a MS Winword document such as "author", "version", or "company". Is there any perl module that can read this information from this file? I haven´t found anything by googleing the web. Yes: Win32::F

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 have

RE: Change in "goto" behavior

2005-07-14 Thread Ken Cornetet
Bleh, Dijkstra is a quiche eater... Real programmers can write FORTRAN in any language http://ces.iisc.ernet.in/hpg/dhruba/Real.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hugh Loebner Sent: Wednesday, July 13, 2005 9:26 PM To: Michael Erskine C

Re: reading "file info" of a ms word document

2005-07-14 Thread Chris Rogers
oops... wrong link. sorry On 7/14/05, Chris Rogers <[EMAIL PROTECTED]> wrote: > Check out this webpage, it might help: > http://user.cs.tu-berlin.de/~schwartz/pmh/ldat-out.html > > > On 7/14/05, Tom Beissler <[EMAIL PROTECTED]> wrote: > > Hi, > > i am looking for a way to read the extended pro

Re: reading "file info" of a ms word document

2005-07-14 Thread Chris Rogers
Perhaps this link: http://user.cs.tu-berlin.de/~schwartz/pmh/ On 7/14/05, Chris Rogers <[EMAIL PROTECTED]> wrote: > oops... wrong link. sorry > > On 7/14/05, Chris Rogers <[EMAIL PROTECTED]> wrote: > > Check out this webpage, it might help: > > http://user.cs.tu-berlin.de/~schwartz/pmh/ldat-out

image map question

2005-07-14 Thread lorid
Can anyone tell me if I should be able to do both a onclick and a mouseover imagemap? I am only able to do one or the other. thanks Lori my attempt: onclick="alert('north1'); onmouseover="doButtons1('north1');"> onmouseover="doButtons1('east1');" > onmouseover="doButtons1('south1');" > o

Re: Change in "goto" behavior

2005-07-14 Thread John Deighan
At 09:55 AM 7/14/2005, Lloyd Sartor wrote: My opinion is that the goto statement can be useful in error handling situations, particularly when parsing data. This removes the rarely-executed error handling code from the expected, normal processing code. This makes the normal code more cohesive, un

Re: Problem With Win32::OLE and InternetExplorer.Application

2005-07-14 Thread StoneBeat
It must be with InternetExplorer.Application. I have tryed with Microsoft.XMLHTTP and it works but, this object dont use Internet Explorer and for my project i must use it. Thanks Bill El Jueves 14 Julio 2005 03:30, $Bill Luebkert escribió: > StoneBeat wrote: > > Hi, i am triying to do a POST r

RE: Change in "goto" behavior

2005-07-14 Thread Cliff Bamford
Oh puleeze. Edsger was a very nice guy, but he was hardly one of the most brilliant minds in computer science --- and he certainly would have disapproved of Perl, whose author truly is a giant. Djiskstra hated "one-liners" -- since his main interest was mathematical proof of correctness, he promot