Re: Editor - finding lines

2004-05-27 Thread Lee Goddard
Capacio, Paula J wrote: TextPad has a search across all open documents, or all files in a directory. The results are shown in a separate window and double clicking the result takes you to that section of code in that file. Again like UltraEdit it's not free, but in the same price range. It

RE: message replies

2003-12-18 Thread Lee Goddard
$Bill Luebkert mailto:[EMAIL PROTECTED] wrote on Thursday, December 18, 2003 3:02 AM: | I agree - never use M$ email clients. Also a good way to pick | up viruses. Quite, but of course not all of use can decide what we use in our offices. lee --- Outgoing mail is certified Virus Free.

RE: parsing text

2003-12-10 Thread Lee Goddard
Nice idea: I'm surprised it's not been done before (I didn't look on CPAN ...) Just a thought, fwiw: if you are sure there will be no spaces in your leaders - the bit between the row name and the data (...) - and if you can be sure that each column consists of data without white space then you

WinAmp Win32 Network?

2003-12-03 Thread Lee Goddard
Is it possible to check what is playing on WinAmp across an intranet, as well as to start tracks playing? A new area to me, any advice appreciated: Lee --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.529 / Virus Database: 324 -

Perl Mir-reporting line numbers and errors

2003-10-22 Thread Lee Goddard
Please help. Perl is reporting non-existant errors, and attributing them to incorrect lines which bear no relation tot he reported issue. I saw this once before, and I think it had something to do with spcing around elsif clauses has nnyone ANY ideas? Thanks in anticipation lee

(no subject)

2003-10-16 Thread Lee Goddard
Has anyone any idea why this might appear in some perl code? warn ${line}; Why not just $line? Thanks for your thoughts lee ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe:

RE: (no subject)

2003-10-16 Thread Lee Goddard
| Lee Goddard wrote: | | Has anyone any idea why this might appear | in some perl code? | | warn ${line}; | | Why not just $line? | | Hi Lee. | | No reason, except that it may be site coding standards? Turns out the guy thought it was faster for string interpolation. He misread

${foo} not $foo

2003-10-16 Thread Lee Goddard
| Lee Goddard wrote: | | Has anyone any idea why this might appear | in some perl code? | | warn ${line}; | | Why not just $line? | | Hi Lee. | | No reason, except that it may be site coding standards? Apparently, according to the author's copy of Learning Perl, it is the fastest way

RE: DBI on microsoft

2003-10-15 Thread Lee Goddard
Sorry about the HTML : I didn't start it. DBI is just a Data-Base Interface: you need to know what database you have, then get a Data-Base Driver (DBD) module for it from CPAN. On Windows, try ppm DBD::xxx where xxx si the database name. Like, what database are you using? You might find

RE: converting files (text)

2003-10-15 Thread Lee Goddard
| Are there any module(s) that would allow me to convert | plain text, rtf, Star Office, Microsoft, etc files | from one format to another via scripting? There are at least some to allow you to manipulate them: try typing the file type (rtf, html) into search.cpan.org. | What I would like to do

Re: Spreadsheet-like data entry/editing in PerlTk?

2003-09-30 Thread Lee Goddard
Have a look in the TK demo directories at the widget demos: I seem to remember there's one that does almost what you want. Failing that, try the tk usenet group. hth lee At 14:37 30/09/2003, Alan Dickey wrote: Dax T. Games wrote: Does anyone know of a Tk widget or have some sample code that

Re: Date conversion

2003-09-29 Thread Lee Goddard
Swap 03 with 20 and you can use the quite lightweigth Date::Simple. At 09:17 29/09/2003, $Bill Luebkert wrote: Noushad Dawood wrote: Friends...need help on converting a date read from csv file. What i need is to convert 20-Sep-03 to 20030920. Is there any function to do this? Just brute force

Re: AmphetaDesk and old Win32 Bugs - RFHelp

2003-09-26 Thread Lee Goddard
At 04:48 24/09/2003, Morbus Iff wrote: Hey all. I'm attempting to clear up two old Win32::GUI bugs reported long ago with my AmphetaDesk application [1]. Could someone take a look at the original bug report and my followups [2], and then my Win32 code [3]:

Re: [perl-win32-users] unvailable for a moment

2003-09-23 Thread Lee Goddard
Yes, it was a silly question :) Look at the bottom of your own message; or - as always - check the mail headers. hth lee At 09:55 23/09/2003, theatre wrote: hi, is there anyone who can tell me how to unsuscribe ? yes, I know, it is stupid as a question, but my machine has crashed ... and I

Re: Parsing Excel file

2003-09-23 Thread Lee Goddard
I've never used Excel so I'd use DBI and DBD::CSV to do it. The mod's got an Excel example included. Or Text::CSV_XS. But maybe now's a good time to learn Excel OLE. At 16:34 23/09/2003, Greg Wardawy wrote: Hello all, I'm not a big fan of Excel files so I was always saving them as csv files

Re: Semantics, not a troll (was newbie hlelp!)

2003-09-20 Thread Lee Goddard
At 22:41 19/09/2003, $Bill Luebkert wrote: Lee Goddard wrote: At 18:15 18/09/2003, $Bill Luebkert wrote: Dictionary definitions are indented after each symbol pair: Which one? An...American dictionary? Schock horror: they were only invented to be different, annoy the Brits and invent a US

RE: Semantics, not a troll (was newbie hlelp!)

2003-09-20 Thread Lee Goddard
At 21:42 19/09/2003, Arms, Mike wrote: Lee Goddard [EMAIL PROTECTED]) wrote: ... I didn't mean to start a flame war here: I only do that if someone asks about text editors. Nah, I haven't seen any flames. Just a lot of good humor. Been a fun topic. Just ask what's the best text editor for perl

OT RE: newbie hlelp!

2003-09-20 Thread Lee Goddard
At 10:22 19/09/2003, Beckett Richard-qswi266 wrote: Mind you I bet suspenders are something different in the US. I fear in the US men wear them to keep their trousers up. Call me old-fashioned, but I think they're missing out there.

Re: Controls for Perl?

2003-09-20 Thread Lee Goddard
At 22:16 19/09/2003, Doug Loud wrote: Are there any controls available for perl, such as list boxes, etc, so that my users could click on an icon and have a perl populated list box appear for their choices/selection? Or do I have to do it through a web browser page like I used to? Since this

Re: newbie hlelp!

2003-09-20 Thread Lee Goddard
At 02:59 19/09/2003, Carl Jolley wrote: You probably won't find horizontal bar either but that's probably what Lee calls a dash. (:-D) Oooo, you! Hyphen, actually: a dash is longer. Unless it's an n-dash, but even then, a dash has space either side Lee Pendant Goddard

Re: newbie hlelp!

2003-09-18 Thread Lee Goddard
I'm guessing that the @{ } syntax implies not only scalar content but that what is enclosed in the braces is an array reference, not a list. Ah, probably: I didn't think beyond scalar Thanks. Lee Miert fizetsz az

RE: How to launch Internet Explorer from perl script ?

2003-09-18 Thread Lee Goddard
Maybe not exactly what you want, but it's fun to play with: forgive the untrimmed code. # Copyright (C) 2003, Little Bits Ltd: # All rights reserved. # # use LBL; # use Win32::OLE; # qw( EVENTS in with valof ); use Win32::OLE::Variant; use LWP::UserAgent; use strict; use Win32::Process; use

Re: newbie hlelp!

2003-09-18 Thread Lee Goddard
At 19:18 17/09/2003, you wrote: Lee Goddard wrote: Brackets, parenthesis, the terms change over the Atlantic: that's just pedantry, Bill :) That's just bull, Lee. :) If you can't have common terminology, how can you have a reasonable discussion about programming which requires explicit

Re: newbie hlelp!

2003-09-16 Thread Lee Goddard
At 21:41 15/09/2003, alex p wrote: Hello all, I am trying to figure out a way to get the last modified date of a file. I have looked at the following modules but they dont seem to address what i need: stat, utime, opendir opendir opens a directory so the contents can be listed. utime changes

Re: Perl dereference methods

2003-09-08 Thread Lee Goddard
At 13:31 08/09/2003, Xu, Qiang (XSSC SGP) wrote: Hi, all: If @arr is an array, and $rr is a reference to it, that is, $rr = [EMAIL PROTECTED]; When I dereference the array, shall I write @$rr, or @{$rr}? Either - it's up to you. Similarly, if %hsh is an hash, and $rhsh is a reference to it,

Re: Use of uninitialized value in concatenation (.) or stringat...

2003-09-07 Thread Lee Goddard
At 20:13 06/09/2003, Devon Young wrote: What does this mean?? I'm thoroughly puzzled and I've been scouring the net for an answer. I've been assuming it means I'm not putting strings together correctly, but I can't figure out how to fix it. Here's the errors I'm getting, followed by the peice

RE: TK::JPEG

2003-08-27 Thread Lee Goddard
Have a look at ftp://theoryx5.uwinnipeg.ca/ They may have one. At 04:08 27/08/2003, Su, Yu wrote: Hi, Does anyone know where I can get a TK::JPEG ppd package for ActivePerl v5.8.0? I downloaded the source code (v2.014)from CPAN, got compiler error: ___

Re: Query the OS for CD-ROM drive letter?

2003-08-27 Thread Lee Goddard
Yes, using Win32API::File::GetLogicalDrives: getLogicalDrives @roots= getLogicalDrives() Returns the paths to the root directories of all logical drives currently defined. This includes all types of drive lettters, such as floppies, CD-ROMs,

Re: This is what confuses me about my...

2003-07-10 Thread Lee Goddard
Hi Beckett, BRq Because the first time I encounter $spreadsheet in my script is within BRq brackets, I have to add the line my $spreadsheet at teh beginning of my BRq script. You don't *have* to use strict, you know Or you can check-out the vars pragma (perldoc vars). But, what's wrong

Re[2]: OH NOOO SPAM ATTACK!

2003-07-10 Thread Lee Goddard
Hi =James, On Thursday, July 10, 2003 at 3:42:24 PM, you wrote: JB This is not spam. It's a subscriber to this list who has made the JB ill-advised choice to use a spam-blocking service. Why doesn't the service check the mail headers for the list or bulk setting and ignore such posts? And is

Re[2]: OH NOOO SPAM ATTACK!

2003-07-10 Thread Lee Goddard
Hi Leon, On Thursday, July 10, 2003 at 4:26:50 PM, you wrote: L It looks like to me that spammers ARE subscribed to the list and they just sit back and watch the traffic fly by and harvest legitimate e-mail address. They are not spamming the list directly but L they are spamming the users of

Re[2]: Displaying a status bar

2003-07-08 Thread Lee Goddard
0002 $| = 1;... 5010 $Workbook-SaveAs($path); 5020 $Workbook-Close(); 5030 $Excel-Quit(); 5040 print scriptsetPercent(100)/script; 5050 print h2(Query Completed); 5060 print $r-end_html; Sorry, I don't know the JavaScript you're talking about. But, What happens if you

Re: $_ = undef; # Creates 'modicication of read-only' error

2003-01-10 Thread Lee Goddard
wrote: On Thu, 9 Jan 2003, Lee Goddard wrote: AS Perl 633, Win Apache mod_perl. Here's a funny thing: I'm getting the runtime error Modification of a read-only value attempted when $_ is set to any value (including undef). This is the only $_ in the scope, and it doesn't matter where

RE: Negative-indexed arrays?

2002-12-23 Thread Lee Goddard
That's true: my Grandfather programmed it decades ago. So can Prolog. But is it relevant?! At 05:13 23/12/2002, Bill Royds -Perl wrote: Fortran can use any indices you want by declaring it as real foo(-10:10) and has been able to do that for years.

RE: Negative-indexed arrays?

2002-12-23 Thread Lee Goddard
Of Lee Goddard Sent: Sun December 22 2002 18:15 To: $Bill Luebkert Cc: ActiveState's Perl Win32 Users list Subject: Re: Negative-indexed arrays? At 22:37 22/12/2002, $Bill Luebkert wrote: Lee Goddard wrote: Perhaps my original question wasn't clear. I do not want $#_-10, I want literally $_[-10

Re: Negative-indexed arrays?

2002-12-22 Thread Lee Goddard
At 22:37 22/12/2002, $Bill Luebkert wrote: Lee Goddard wrote: Perhaps my original question wasn't clear. I do not want $#_-10, I want literally $_[-10]. What's the difference which way it is if you access it only by using negative offsets ? Not *only* negative offsets. In other words: Does

RE: Negative-indexed arrays?

2002-12-22 Thread Lee Goddard
, when $[ isn't 0, it is set to 1 for compabability with languages like fortrash that use 1 as the index of the first element of an array. [EMAIL PROTECTED] Carl Jolley All opinions are my own and not necessarily those of my employer On Sun, 22 Dec 2002, Lee Goddard wrote: Perhaps

Re: RE: Negative-indexed arrays?

2002-12-22 Thread Lee Goddard
Cernansky - Original Message - From: Lee Goddard [EMAIL PROTECTED] Date: Sunday, December 22, 2002 6:09 am Subject: RE: Negative-indexed arrays? Perhaps my original question wasn't clear. I do not want $#_-10, I want literally $_[-10]. In other words: Does anyone know

Re: Direct to Browser interaction

2002-12-20 Thread Lee Goddard
__ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs Lee Goddard, BA(Hons), MSc(Sussex) http

Re: Direct to Browser interaction

2002-12-20 Thread Lee Goddard
Bill and Lee. I'll check it out. Biggest problems is figuring out how it needs to be configured. I didn't have much luck in configuring Apache for Linux. Shain --- Lee Goddard [EMAIL PROTECTED] wrote: You might want to look at Tk::HTML, but really, it's easier to use a web server. Apache is free

Re: Problem in current directory reference

2002-12-20 Thread Lee Goddard
as the reference. The `chdir` (current directory) command is giving me the C: irrespective of where I run my Perl script from. I think this has to do with some environment setting on Perl but I am not sure which one. I would really appreciate if you can help me here. Regards, Shailesh Lee

Re: utime issue on Win32

2002-12-12 Thread Lee Goddard
Ah yes, thanks Bill. I'd even read the second, but didn't compute NT as including Win2k (NT5). Completely missed the first although I read it - that win32 tucked away at the end after the full-stop escaped my rushing eyes. Sigh. Thanks. lee ___

RE: Two questions...

2002-12-12 Thread Lee Goddard
At 18:03 12/12/2002, Burak Gürsoy wrote: Well... TextPad is shareware, but it has no time limits and it does not block any functionality (FYI)... It's a nice editor and does not eat your system resources... Textpad is only $15. Dodn't they pay you? Sheesh. Lee Goddard, BA(Hons), MSc(Sussex

Re: Justifying text in a Tk label?

2002-11-25 Thread Lee Goddard
= 1, -pady = 1); But I couldn't make any difference, the text is always centered. Thanks. It's probably a Tk-users question, but I know the problem. I think you'll need to set the anchor to west, as that's the left side --- east is the right side lee Lee Goddard, BA(Hons), MSc(Sussex

Re: How to list files in directory ? How to substitute space ?

2002-07-05 Thread Lee Goddard
At 07:59 05/07/2002, $Bill Luebkert wrote: I'm afraid you will find that that is the fastest method except you wrote it wrong - there is no need for the while {} part: my $str =this is a test files ; $str =~ s/^\s+//; $str =~ s/\s+$//; print $str, \n; What's wrong with:

Re: embedding/extending problem

2002-07-04 Thread Lee Goddard
At 14:17 04/07/2002, Calin Fandango wrote: I attach to this email two packages I've built in linux: I wish you wouldn't, not because this is a Perl list, but because of the other obvious reason. lee ___ Perl-Win32-Users mailing list [EMAIL

Flame Troll

2002-06-18 Thread Lee Goddard
Okay, all of you - outside in the carpak NOW Lee Goddard perl -e while(1){print rand0.5?chr 47:chr 92} ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Sorry (was RE: Regular Expression Help)

2002-06-12 Thread Lee Goddard
://listserv.ActiveState.com/mailman/mysubs Lee Goddard perl -e while(1){print rand0.5?chr 47:chr 92} ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: Send email in ActivePerl using SMTP

2002-06-12 Thread Lee Goddard
({ to = $to, cc = $cc, subject = $subject, msg = $rep }); die $Mail::Sender::Error if not ref $_; warn Sent.\n; } Lee Goddard perl -e while(1){print rand0.5?chr 47:chr 92} ___ Perl-Win32-Users mailing list [EMAIL PROTECTED

RE: Packages Included and not

2002-06-12 Thread Lee Goddard
of the standard distribution. Where did you get your Perl?! Really: you must re-install - who knows whatever other devilments have befallen your system? hth lee Lee Goddard perl -e while(1){print rand0.5?chr 47:chr 92} ___ Perl-Win32-Users mailing list

FAQ

2002-05-22 Thread Lee Goddard
Why don't we make a FAQ Auto-responder? It could scan subjects and first ten lines for a FAQ, and if it finds one, send the FAQ answer. So it wouldn't cope with the silliest questions, but should get most Lee Goddard perl -e while(1){print rand0.5?chr 47:chr 92

RE: FAQ

2002-05-22 Thread Lee Goddard
and weather lookups as well as factoids on all thing perl related (monty python, buffy the vampire slayer, photos of drunken perl mongers and camels) I yet to remain convinced of the relevance of childrens' TV to perl... Lee Goddard perl -e while(1){print rand0.5?chr 47:chr 92

RE: FAQ

2002-05-22 Thread Lee Goddard
, though. Lee Lee Goddard perl -e while(1){print rand0.5?chr 47:chr 92} ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Mail::Sender - bug?

2002-05-21 Thread Lee Goddard
? $Mail::Sender::VERSION='0.7.13.1'; Thanks in anticipation, lee goddard Lee Goddard perl -e while(1){print rand0.5?chr 47:chr 92} ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: Image Resize

2002-05-21 Thread Lee Goddard
Hello guys, is there a way to resize .jpg and .gif on the fly without ImageMagick ? It seems to be so easy with PHP... Thanx a lot ! Frédéric Bournival Lee Goddard perl -e while(1){print rand0.5?chr 47:chr 92} ___ Perl-Win32-Users mailing list

RE: Mail::Sender - bug?

2002-05-21 Thread Lee Goddard
Sorry, Jenda; thanks Matt, Rob --- I am a very sleepy, early-morning JAPH with the road being dug up outside thanks! Lee use strict Goddard -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Lee Goddard Sent: 21 May 2002 09:22 To: [EMAIL PROTECTED] Cc

Re: Why my boss doesn't want Perl...

2002-05-14 Thread Lee Goddard
At 09:09 14/05/2002 -0500, Cameron Dorey wrote: Lee Goddard wrote: At 08:50 13/05/2002 -0400, Tillman, James wrote: We're discussing hackers using the true meaning of the word, which is a programmer who loves his craft, not a stupid jerk with nothing better to do than trash other

Re: Why my boss doesn't want Perl...

2002-05-14 Thread Lee Goddard
At 11:58 14/05/2002 -0400, you wrote: On Tue, May 14, 2002 at 09:09:05AM -0500, Cameron Dorey wrote: At 08:50 13/05/2002 -0400, Tillman, James wrote: We're discussing hackers using the true meaning of the word, which is a programmer who loves his craft, not a stupid jerk with nothing

Archive::Tar problems on Win32

2002-05-14 Thread Lee Goddard
\Test-Simple-0.44 Lee Goddard perl -e while(1){print rand0.5 ? chr 47 : chr 92} ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: Archive::Tar problems on Win32

2002-05-14 Thread Lee Goddard
Thanks - but I have version 1.16 of that... lee At 15:06 14/05/2002 -0400, Tillman, James wrote: I've seen similar errors when Compress::Zlib isn't installed. jpt -Original Message- From: Lee Goddard [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 14, 2002 3:10 PM

Re: Compare two arrays.

2002-05-14 Thread Lee Goddard
-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs Lee Goddard perl -e while(1){print rand0.5 ? chr 47 : chr 92} ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http

RE: Why my boss doesn't want Perl...

2002-05-10 Thread Lee Goddard
did -- not even live serving of pages. Biggest problem I can find with Perl is that it is free, and relatively easy. I suppose there are a lot of hackers who give Perl Hackers a bad name, but isn't that the case with VB and C++? Lee Goddard perl -e while(1){print rand0.5 ? chr 47 : chr 92

RE: Preferred PERL Editor

2002-05-10 Thread Lee Goddard
Okay, where do I get Xemacs? Only kdding - getting it now... ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: Why my boss doesn't want Perl...

2002-05-10 Thread Lee Goddard
. Lee Goddard perl -e while(1){print rand0.5 ? chr 47 : chr 92} ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: Hash of Hashes

2002-05-07 Thread Lee Goddard
At 22:17 06/05/2002 -0700, Kevin wrote: I am reading a DBI record into a hash reference - my $row = $sth-fetchrow_hashref() - I would like to create a hash to hold all of the returned rows (or thus, hashes) with the ID being the key, so for example $returned_rows{$row-{'ID'}} = $row

Re: Hash of Hashes

2002-05-07 Thread Lee Goddard
At 09:03 07/05/2002 +0100, Simon Oliver wrote: Lee Goddard wrote: $i_ama_hash_ref-{ima_key2}-{I'm a value)=I'm a key; You swapped a brace with a bracket and didn't you mean this anyway: $i_ama_hash_ref-{ima_key2}-{I'm a key}=I'm a value; Sure did. That'll teach me to try and be helpful

Re: XMl convertion quickie.

2002-05-07 Thread Lee Goddard
to another? regards Marty ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs Lee Goddard perl -e while(1){print rand0.5 ? chr 47 : chr 92

RE: Secure platforms DO matter!

2002-05-07 Thread Lee Goddard
At 13:40 07/05/2002 +0200, Bellenger, Bruno \(Paris\) wrote: Guys, Interesting as it may be, maybe this thread should be moved to a more appropriate forum ? Agreed! lee ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe:

OT: Web Server Security (was once RE: Stress Test Theory?)

2002-05-03 Thread Lee Goddard
Running Apache is more secure than running IIS, but still less secure than if you ran apache on UNIX, Linux, AS/400, OS/2 or any other server operating system. Hence few people reccomending you run ANYTHING on windows in production. Presuming of course that the server is set up to

Stress Test Theory?

2002-05-02 Thread Lee Goddard
files. Should I just hold everything in memory and then store it? If you've done this before, I'd appreciate your thoughts. Thanks in anticipation lee goddard ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http

RE: Stress Test Theory?

2002-05-02 Thread Lee Goddard
. Or is that not enough detail? Anyone know if the Benchmark mod would generate enough of a beating? -Original Message- From: Lee Goddard [mailto:[EMAIL PROTECTED]mailto:[EMAIL PROTECTED]] Sent: Thursday, May 02, 2002 11:22 To: ActiveState's Perl Win32 Users list Subject: Stress

RE: deploying perl past enemy lines (RE: Why my boss doesn't want Perl...)

2002-04-30 Thread Lee Goddard
Once again deftly proving what an idiot I am, I butcher a great philosopher's name. The quote was from the work of Lao _Tzu_. I'm a Taoist, not a Maoist, I swear ;-) We know: we just didn't want to spoil a *beautiful* moment man ___

RE: About GoogleSearch

2002-04-30 Thread Lee Goddard
You could always try subclassing the WWW::Search module - there are plenty of examples: http://search.cpan.org/search?dist=WWW-Search-Yahoo ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe:

RE: :mysql

2002-04-09 Thread Lee Goddard
as I was pretty sure that I remembered seeing it there. - Mike -Original Message- From: Lee Goddard [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 3:37 PM To: Arms, Mike; [EMAIL PROTECTED] Subject: RE: :mysql DBD-mysql? Yeah: are you using an old version of PPM? Ie

CGI pm Temp File Problems

2002-03-11 Thread Lee Goddard
CGI open of tmpfile: No such file or directory Got this running the latest AS Perl with CGI.pm: the directory C:\temp exists, so CGI pm should find it; form data was encoded correctly and uploaded ok afaik, from IE6 to Win2k IIS. Any help appreciated TIA lee

RE: CGI pm Temp File Problems

2002-03-11 Thread Lee Goddard
At 13:31 11/03/2002 +0100, Thomas Bätzler wrote: Lee Goddard [[EMAIL PROTECTED]] asked: CGI open of tmpfile: No such file or directory Got this running the latest AS Perl with CGI.pm: the directory C:\temp exists, so CGI pm should find it; form data was encoded correctly and uploaded

RE: CGI.pm file upload

2002-03-06 Thread Lee Goddard
# # would it be faster to do an 's/\//\\/g' to replace all '/' with '\' # # and then just get the index of the final '\'? Don't know... # # it would make the code cleaner, but it may be less efficient... my $posreg = rindex($in_file_name, /); my $posback = rindex($in_file_name,

RE: CGI.pm file upload

2002-03-06 Thread Lee Goddard
Thanks for the example Seems to suggest that my code was okay, because I get a related error when running your code: Can't use an undefined value as a symbol reference at ... the lines while($bytesread = read($fh, $buffer, 1024)) { print

RE: CGI.pm file upload

2002-03-06 Thread Lee Goddard
Everything is fine with my file upload, except $cgi_pm_instance-upload($upload_form_field_name) always returns a string and never a file handle. If no-one knows about this, I'll get in touch with the CGI pm chap. TIA lee ___ Perl-Win32-Users

Re: Distance between 2 latitudes and longitudes

2002-03-06 Thread Lee Goddard
At 10:14 06/03/2002 -0600, MOTTER, JEFFREY D. wrote: Does any know where I can find a script to calculate the distance between 2 seperate latitudes and longitudes? The distance between each line of lat and lon is slightly different: if you can me a list of them, I can write you the script, and

Re: Distance between 2 latitudes and longitudes

2002-03-06 Thread Lee Goddard
/dist/formula.html Brian On Wed, 6 Mar 2002, Lee Goddard wrote: At 10:14 06/03/2002 -0600, MOTTER, JEFFREY D. wrote: Does any know where I can find a script to calculate the distance between 2 seperate latitudes and longitudes? The distance between each line of lat and lon is slightly

RE: CGI.pm file upload

2002-03-06 Thread Lee Goddard
I'm an idiot. I set the form to the correct encoding, using a type attribute, not enctype. Deary me time for a holiday. Thanks for you help! lee ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe:

re:Regexp needed

2002-03-05 Thread Lee Goddard
At 11:20 05/03/2002 +0100, Jorge Goncalvez wrote: my ($Path) = $MountsPath =~ /(.+?)cygwin/; but I wanted to get rid of the /. because $MountsPath could be c:/cygwin or c:/xyz/cygwin or c:/xyz/zyx/cygwin and i wanted $Path = c: or c:/xyz or c:/xyz/zyx . And now $Path= c:/ or c:/xyz or

RE: Perl not finding modules... some of the time

2002-02-12 Thread Lee Goddard
Sounds to me like you've got two Perl's installed, one linked to PWS, one to your PATH variable. Check the ScriptMap registry key you set when you installed PWS against the PATH enviroment variable (by typing SET PATH at a command prompt). hth Lee

RE: Text flow in PDF

2001-10-12 Thread Lee Goddard
PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Oliver Manickum Sent: 10 October 2001 10:28 To: [EMAIL PROTECTED] Subject: RE: Text flow in PDF Hey Lee, Are you talking about Editing the PDF to format it ?.. - Olly -- From: Lee Goddard [mailto:[EMAIL PROTECTED]] Subject: Text

RE: Text flow in PDF

2001-10-12 Thread Lee Goddard
From: Morse, Richard E [mailto:[EMAIL PROTECTED]] Sent: 12 October 2001 13:16 To: 'Lee Goddard' Subject: RE: Text flow in PDF As I understand it, PDF does not define the concept of a paragraph -- PDF works with characters, and it is up to the program to use the font metrics That's

Exception handling in Perl

2001-09-28 Thread Lee Goddard
Just found a need for exception handling on a big live project with an potentially nasty PM. Does anyone have any experience of the Exception modules? Any good? Bad? Better ideas? Your input would be much appreciated! tia lee ___

OLE and progIDs

2001-09-28 Thread Lee Goddard
http://www.perl.com/pub/a/2001/04/17/msxml.html is the Perl.org article on using Perl with MSXML. Very nice, very goo, but it assumes that the parser is installed in side-by-side mode: The only thing that we need to know is the progID for the MSXML parser. ... MSXML offers version dependent and

RE: Exception handling in Perl

2001-09-28 Thread Lee Goddard
Thanks, yes: that's what I've always done, just need something more refined. Ta lee ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

RE: Why should a null function cure a problem?

2001-06-26 Thread Lee Goddard
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Richard Chiswell Sent: 26 June 2001 10:20 To: Lee Goddard; [EMAIL PROTECTED] Subject: RE: Why should a null function cure a problem? Okay, I've managed to track the problem down using http://bugs.activestate.com/ . Basically

My beautiful sig

2001-06-26 Thread Lee Goddard
Hey guys - thanks for everything, *BUT* Behalf Of Tim Hammerquist (Sent: 26 June 2001 01:06): The syntax breaks on my box (MDK linux 7.1; Perl 5.6.0; bash shell) Lee --- Obligatory perl schmutter .sig: perl -e print rand 0.5 ? q/\\/ : q\/\ while 1

RE: Maths - ratios? scales? mapping map to map

2001-06-25 Thread Lee Goddard
My two cents: I missed the original post, but I suggest you have TWO subroutines (preferably within a module). ll2xy (lat/lon to x/y) and xy2ll (x/y to lat/lon) Exactly what I did in the end! Of course, each one would accept a string of arguments such as projection, scale,

RE: Maths - ratios? scales? mapping map to map

2001-06-25 Thread Lee Goddard
First - thanks for the response. I have done some graduate work in mathematics and you don't quite have enough information to solve this problem -- even if you can effectively assume that the world is flat and rectangular in shape. From the way you describe the problem, I think you are

RE: Make ing on Windows

2001-06-24 Thread Lee Goddard
On Fri, 22 Jun 2001 20:56:40 +0100, Lee Goddard [EMAIL PROTECTED] wrote: Makefile.PL generated by h2xs on the latest build of perl 626 (AS source) generates a makefile which seems a bit weird. E:\Src\Pl\Acme\PM\London\Maps\Earthnmake ci Microsoft (R) Program Maintenance Utility

RE: GD Errors

2001-06-24 Thread Lee Goddard
Lincoln Stein has no e-mail address All CPAN authors have an @cpan.org address. Follow the first link here: http://www.google.com/search?q=lincoln+stein+cgi.pm his email is at the bottom of the page. Yeah, I'm in the middle: [EMAIL PROTECTED], but if it wasn't on the mod page, I

RE: Why should a null function cure a problem?

2001-06-22 Thread Lee Goddard
Question is - why the h-ll does a null-routine/function like that cure the Program Error? Sound wierd: can you send in and cc me the minimum that causes the situation? Hell of a .sig you got there. I notice: Please note, that contracts may NOT be concluded on behalf of Cradley Print Ltd

Smartarse Unix Beardy Types...

2001-06-22 Thread Lee Goddard
..are causing me greif over my brand-new .sig: Obligatory perl schmutter .sig: perl -e while (1){rand0.5 ? print'\\' : print'/'} It don't run on their old-fashioned nuclear-reactor, reliable machines because I'm using the Windows not the Unix ` to quote the -e string. Is

ISP Can't locate loadable object....

2001-06-20 Thread Lee Goddard
I'm working on an ISP who won't upgrade Perl to the current version, and I need the current version. I've got use lib, and put the PM file of HTML::TokeParser in the right place, but I'm being told that perl can't locate a loadable object form HTML::Parser. Is this anything to do with

RE: (no subject)

2001-06-20 Thread Lee Goddard
Well...printing it won't help much, but send us your code and maybe we can help. In the meantime: # In file named Book.pm package Book; our $VERSION=0.01; sub new { my $class = shift; my $self = {}; # Or other data struct bless $self, $class; } sub display { my $self = shift; print

RE: OOP

2001-06-20 Thread Lee Goddard
That'll teach me. I missed your code at the end, and I didn't change the subject. #!/usr/bin/perl Above is not needed in Win. Maybe on Apache, though. my $book1 = book-new(); # instantiating a default book object. Best to give your packages intial capitals, for clarity. Also,

  1   2   >