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 als

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. Checked

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 ___

${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 o

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 inte

(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: http://listserv.ActiveState.com/mailman/m

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 i

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 fin

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]: http://cvs.sf.net/cgi-bin/viewcvs.cgi/amp

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 before

The Unofficial Perl Win32 Users Flameware/Mega-Thread FAQ

2003-09-23 Thread Lee Goddard
It's that time of year again: please allow me to present the *Unofficial* Flameware/Mega-Thread FAQ, posting II: Feel like a bit of a tussle? Feel like avoiding one? Here's a handy cut-out-and-keep list of favourite fighting-talk subjects for this list: * HTML e-mail and your right to choose

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 ha

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: 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 is

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: 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&#x

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 dif

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 wh

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 Win32;

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 internetert

RE: newbie hlelp!

2003-09-16 Thread Lee Goddard
A correction for Lee and Trevor. The "-M" function is not the same as (stat $file)[9] which is what the original poster wanted (i.e. mtime of a file). You're right of course: not a very good mnemonic. And whilst I'm showing my ignorance, can someone please explain to me why stat needs so many bra

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 t

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, shall

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 of

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, ha

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: ___ P

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]: 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 i

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]: Displaying a status bar

2003-07-08 Thread Lee Goddard
0002 $| = 1;... 5010 $Workbook->SaveAs($path); 5020 $Workbook->Close(); 5030 $Excel->Quit(); 5040 print "setPercent(100)"; 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 make

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

2003-01-10 Thread Lee Goddard
03, Carl Jolley 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

RE: Negative-indexed arrays?

2002-12-23 Thread Lee Goddard
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

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: RE: Negative-indexed arrays?

2002-12-22 Thread Lee Goddard
big pain when you could just use a hash. -Bill 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 litera

RE: Negative-indexed arrays?

2002-12-22 Thread Lee Goddard
of strings. Usually, 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] All opinions are my own and not necessarily those of my employer **** On Sun, 22 Dec 2002, Lee Goddard wrot

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 w

Re: Problem in current directory reference

2002-12-20 Thread Lee Goddard
er 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

Re: Direct to Browser interaction

2002-12-20 Thread Lee Goddard
ge wrote: Thank you 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, >

Re: Direct to Browser interaction

2002-12-20 Thread Lee Goddard
. -Shain Edge __ 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

Win32 alarm()

2002-12-19 Thread Lee Goddard
sentence ... Cheers lee Lee Goddard, BA(Hons), MSc(Sussex) http://www.LeeGoddard.com/ since 1997. Direcotr: Little Bits Ltd - Perl / Java / XML / HTML Contractors Inc. in England #4006170; VAT #755-0139-42 ___ Perl-Win32-Users mailing list [EMAIL

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),

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 ___ Perl-

Re: Can arrays be used as scalars?

2002-11-28 Thread Lee Goddard
__ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs Do you Yahoo!? <http://rd.yahoo.com/mail/mailsig/*http://mailplus.yahoo.com>Yahoo! Mail Plus - Powerful. Affordable. <http://rd.yahoo.com/mail/mailsig/*http://ma

Re: Substitution

2002-11-26 Thread Lee Goddard
Er, what were you trying to do again? Why won't { my @bits = split":",$in; } be good enough to get the bits, and the rewriting as {print join":",@bits} ? Sorry, little history in my box lee Lee Goddard, BA(Hons), MSc(Sussex) http://www.LeeGoddard.com/ since 19

Re: Justifying text in a Tk label?

2002-11-25 Thread Lee Goddard
t;25", -justify => "left") -> pack (-side => "top", -anchor => "e", -padx => "1", -pady => "1"); But I couldn't make any difference, the text is always centered. Thanks. It's probably a Tk-users question, but....

RE: OO question

2002-07-30 Thread Lee Goddard
> > I'm starting to get into OO programming with Perl and > > have a question. > > > > As I understand it with OO - you create an object and > > then do something to it. > > > > I have a list of values in an array and I wish to do > > the same "something" to all of them. > > > > Do I need to crea

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

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 PROTECT

Flame Troll

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

RE: Packages Included and not

2002-06-12 Thread Lee Goddard
'stirct' and 'vars' are pragma, part 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 rand>0.5?chr 47:chr 92}&qu

Re: Send email in ActivePerl using SMTP

2002-06-12 Thread Lee Goddard
t;MailMsg({ 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 rand>0.5?chr 47:chr 92}"

Sorry (was RE: Regular Expression Help)

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

RE: FAQ

2002-05-22 Thread Lee Goddard
hildrens' TV to perl... > >Many FAQs asked on here could be answered sharpish by Dipsy or Purl on >#london.pm and #perl respectively I take your word for it. But I yet to be convinced of the relevance of childrens' TV to Perl, though. Lee Lee Goddard perl -e "while(1){print rand>0.5?chr 47:chr 92}" ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: FAQ

2002-05-22 Thread Lee Goddard
- the perl mongers have >several very well informed infobots that do things like whois 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 chi

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 rand>

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 M

RE: Image Resize

2002-05-21 Thread Lee Goddard
rs >Subject: Image Resize > >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 rand>0.5?chr 47:chr 92

Mail::Sender - bug?

2002-05-21 Thread Lee Goddard
t C:\Documents and Settings\Administrator\Desktop\foo.pl line 16. Tool completed with exit code 2 Any ideas? $Mail::Sender::VERSION='0.7.13.1'; Thanks in anticipation, lee goddard Lee Goddard perl -e "while(1){print rand>0.5?chr 47:chr 92}"

Re: Compare two arrays.

2002-05-14 Thread Lee Goddard
_ >Send and receive Hotmail on your mobile device: http://mobile.msn.com > >___________ >Perl-Win32-Users mailing list >[EMAIL PROTECTED] >To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs Lee Goddard perl -e &q

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:

Archive::Tar problems on Win32

2002-05-14 Thread Lee Goddard
od "gzread" on an undefined value at C:/Lang/Perl/site/lib/Archive/Tar.pm line 274. C:\temp\t\Test-Simple-0.44> Lee Goddard perl -e "while(1){print rand>0.5 ? chr 47 : chr 92}" ___ 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-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 j

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&qu

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
heir own. As in newspaper reporters. Lee Goddard perl -e "while(1){print rand>0.5 ? chr 47 : chr 92}" ___ 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
ould do just what my 30 minute Perl script 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 &q

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: http://l

Re: XMl convertion quickie.

2002-05-07 Thread Lee Goddard
verting from one XML doc to >another? > >regards > >Marty > >___ >Perl-Win32-Users mailing list >[EMAIL PROTECTED] >To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs Lee Godd

RE: Secure platforms DO matter!

2002-05-07 Thread Lee Goddard
on and making a commercial success of Apple's interpretation of the StarOffice GUI. Were it not for MS "plug-n-play", most of us would be charged inflated prices for hardware. But frankly, even MS have admitted that security is not something they have done well. Lee Goddard

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}

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 $I_am

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 i

RE: Stress Test Theory?

2002-05-02 Thread Lee Goddard
k to see when performance degrades. 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: Th

Stress Test Theory?

2002-05-02 Thread Lee Goddard
or dumping 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]

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: http://listserv.ActiveState.com/mailman/mysub

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: :mysql

2002-04-09 Thread Lee Goddard
id not install >DBD-Mysql so I don't know if there is a problem with its >PPD or not. I just ran the search as I was pretty sure >that I remembered seeing it there. > >- Mike > > >-Original Message- >From: Lee Goddard [mailto:[EMAIL PROTECTED]] >Sent: Monday,

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 &g

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 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: http://listserv.ActiveState.com

Re: Distance between 2 latitudes and longitudes

2002-03-06 Thread Lee Goddard
an explanation at: > >http://www.mercury.demon.co.uk/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 > > >s

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: 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 maili

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 $buffer;

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_n

RE: CGI.pm file upload

2002-03-06 Thread Lee Goddard
At 15:58 05/03/2002 -0500, Morse, Richard E. wrote: >H some of this doesn't look right. > >For instance, point 5 -- $file in this case should be the filehandle, >which may >also be the text of the parameter, but I'm not positive on that -- if you want >the value of the file, try $self->{c

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 c:

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
> 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 t

RE: Text flow in PDF

2001-10-12 Thread Lee Goddard
-Original Message- > From: [EMAIL 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 ?..

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

OLE and progID

2001-09-28 Thread Lee Goddard
Sorry - just ignore that last post. I didn't read the article properly. That time of day again lee ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

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 a

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 ___ Perl-Win32-Users

RE: Lack of docs for "unless"?

2001-09-27 Thread Lee Goddard
> > perldoc -f unless > > > > > No documentation for perl function `unless' found > > > > Surely not correct? Should I write them?! > > > > While you're at it you might as well consider: > > perldoc -f if > > No documentation for perl function `unless' found > > Not every perl construct is a

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" __

  1   2   >