Re: [Boston.pm] Perl popularity and interview questions

2005-03-07 Thread Darren Chamberlain
* Greg London [2005/03/07 10:43]: > > Palit, Nilanjan said: > > $> perl -e '$x=1; $y=$x+++1; print "x=$x, y=$y\n"' > > Bummer. I just got a ding on your interview. > How do you parse $x+++1 ? $ perl -MO=Deparse,p -e '$x=1; $y=$x+++1; print "x=$x, y=$y\n"' $x = 1; $y = $x++ + 1

Re: [Boston.pm] GUI builders, support tools

2005-02-28 Thread Darren Chamberlain
* Sean Quinlan [2005/02/28 18:12]: > [...] But here's something you basic text > editor doesn't give you that I think Eclipse does. Function jumping (or > whatever it's called). I'd _LOVE_ to be able to click (or highlight and > meta-somthing, whatever) on a function or method call and have the >

Re: [Boston.pm] anyone with gmail account? Is the spam filter good?

2004-10-12 Thread Darren Chamberlain
* Alex Brelsfoard [2004/10/12 12:39]: > I have had my gmail account for only a few months. but I have not had > ANY spam yet. I have not done much to test it. I'll second that observation: I have recieved one piece of spam in the last three months of (admittedly light) usage. When I check the

Re: [Boston.pm] Reminder: Tech Meeting Tues, Jan 13

2004-01-14 Thread darren chamberlain
* Greg London [2004/01/14 01:52]: > As the lucky winner of the "Badger Book" prize > I just wanted to say: > > THANKS FOR THE BOOK! I hope you enjoy it. > And I forgot to have Darren autograph it. In place of an autograph, I've attached a digital signature. (darren) -- Never doubt that a s

Re: [Boston.pm] Re: Reminder: Tech Meeting Tues, Jan 13 (Ronald J Kimball)

2004-01-12 Thread darren chamberlain
* [2004/01/12 13:11]: > I will be coming for the first time, is Boston.com's office just the > Boston Globe or is there an address I can use and office room? Boston.com is at 320 Congress Street, which is not near the Boston Globe. The announcement includes directions, which you quoted in your

Re: [Boston.pm] Boston.pm Job Posting Policy

2004-01-07 Thread darren chamberlain
* Uri Guttman [2004/01/07 15:13]: > with the perl jobs list, why would people want/need to post jobs only to > boston.pm? you could just state boston as the location and onsite and > probably get a larger number of applicants. i would expect any boston.pm > members looking for work (or interested

Re: [Boston.pm] Why is the mailinglist for Boston-pm Python Powered?

2004-01-07 Thread darren chamberlain
* Steven W. Orr [2004/01/07 14:03]: > The best mailinglist manager is Majordomo2 (Not to be confused with > Majordomo). It's written in perl and it's absolutely mahvelous. Actually, the best mailing list manager is siesta (), which is also written in Perl, and being

Re: [Boston.pm] OT:Safari Bookshelf

2003-12-30 Thread darren chamberlain
* James Freeman [2003/12/30 16:05]: > Anyone on the list have direct experience with O'Reilly's Safari > Bookshelf? +1 (darren) -- In the fight between you and the world, back the world. pgp0.pgp Description: PGP signature ___ Boston-pm mailin

Re: [Boston.pm] Best CPAN archive

2003-12-29 Thread darren chamberlain
* Ranga Nathan [2003/12/29 11:40]: > What is the most updated CPAN mirror for use with CAPN.pm? > I have a felling that some of the mirrors are not up to date. > Can someone guide me? You can do what I do, and maintain your own mirror. See

Re: [Boston.pm] [Fwd: perl needs your support]

2003-12-09 Thread darren chamberlain
* Sean Quinlan [2003/12/09 11:43]: > ... I also digitally sign my email, which I don't think a virus is > capable of??? A virus can be capable of *appearing* to sign a message, but only those who actually verify signatures will tell if the signature was OK. In the past, I've had a few messages s

Re: [Boston.pm] CPAN module

2003-11-19 Thread darren chamberlain
* Ranga Nathan [2003/11/19 09:27]: > CPAN module is cool! Dont know why I did not use it earlier! > However I have one problem. Sometimes, if the make test is not 100%, CPAN > does not install, even though I 'know' it is ok. So, I have to do some > installs the old way. > Any suggestions? I als

Re: [Boston.pm] Request Guidance with LWP newbie???

2003-11-13 Thread darren chamberlain
* Drew Taylor [2003-11-13 16:58]: > darren chamberlain wrote: > >* Bob Mariotti [2003-11-13 13:57]: > > > >>Can any of you in the know kindly point me to a good thorough > >>reference or perhaps itemize a few pointers to accomplishing this > >>and/or

Re: [Boston.pm] Request Guidance with LWP newbie???

2003-11-13 Thread darren chamberlain
* Bob Mariotti [2003-11-13 13:57]: > Can any of you in the know kindly point me to a good thorough > reference or perhaps itemize a few pointers to accomplishing this > and/or working with lwp? First of all, have you seen Sean Burke's "Perl & LWP" book[0]? I don't think it covers SSL and https,

Re: [Boston.pm] Tk question.

2003-08-14 Thread darren chamberlain
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * Timothy Kohl [2003-08-07 08:17]: > I am trying to set up an associative array > where the values are method calls (specifically > widget creation calls) for Tk. You want a dispatch table, with the keys pointing to subroutine references. %Valid

Re: [Boston.pm] emacs discussion

2003-07-10 Thread darren chamberlain
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * Erik Price [2003-07-10 08:24]: > On Wednesday, July 9, 2003, at 10:20 PM, Chris Devers wrote: > > I wish I could think of better metaphors for this, because > > intuitively it seems clear to me that there are plenty of examples > > of things that a

Re: [Boston.pm] emacs discussion

2003-07-09 Thread darren chamberlain
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * David Cantrell [2003-07-09 13:55]: > On Tuesday, July 8, 2003 21:48 -0400 William Goedicke > <[EMAIL PROTECTED]> wrote: > > >Dear Y'all - > > > >One thing that always confuses me about the emacs debate is the > >functionality vs. cost question. [X

Re: [Boston.pm] .Net platform and Perl - feedback please

2003-07-03 Thread darren chamberlain
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * Chris Ball [2003-07-03 08:45]: > You can see how this creates problems for a Perl or Python port, too. > When $a goes from being an IV to an PV, what do we do with the local > variable preamble? Why wouldn't you simply declare $a as an SV? (darren

Re: [Boston.pm] Komodo vs. emacs

2003-07-02 Thread darren chamberlain
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * Mikey Smelto [2003-07-02 16:29]: > My problem with Komodo was that it was slow. I have a P4 1.5Ghz with > 768 MB of ram, and it took a long time to call it up. Yes I was > running the windows version. But darren and the vi army have speed on > the

Re: [Boston.pm] Komodo vs. emacs

2003-07-02 Thread darren chamberlain
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * Greg Marr [2003-07-02 10:26]: > At 09:42 AM 7/2/2003, darren chamberlain wrote: > >My complaint with emacs' indenting isn't that it's the wrong amount > >but that by default it mixes tab and space characters, w

Re: [Boston.pm] Komodo vs. emacs

2003-07-02 Thread darren chamberlain
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * David Cantrell [2003-07-01 14:43]: > On Tuesday, July 1, 2003 9:03 -0400 Joel Gwynn <[EMAIL PROTECTED]> > wrote: > >From: David Cantrell [mailto:[EMAIL PROTECTED] > >>It's a question of what you're used to, I guess. IMO emacs's > >>indentation blo

Re: [Boston.pm] DBI question

2003-06-18 Thread darren chamberlain
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * Joel Gwynn [2003-06-18 09:28]: > The problem is not so much that I can't connect, the problem is that > if I can't, I don't want to return the db credentials to the browser. > How can I turn this off? I assume you're wrapping this in an eval, and t

Re: [Boston.pm] tcl-perl-unix problem

2003-03-25 Thread darren chamberlain
* Greg London [2003-03-25 15:31]: > The original script had a line that said this: > > >if {[catch {exec rsh $linuxMachine "cd $pwd/test/c/$testName; \ > > make $makeparam >&! log/make.log"} result]} { ;# exec error > > error "\n >>> Can't execute make:\n >>> '$result'\n\n" > > which I

Re: [Boston.pm] Email filtering...

2003-02-11 Thread darren chamberlain
* Ron Newman [2003-02-11 12:42]: > On Tuesday, February 11, 2003, at 12:23 PM, Gyepi SAM wrote: > > I don't see how '*@*.aol.*' can match '[EMAIL PROTECTED]'. How do you > > account for the first '.' in the match expression? > > For that matter, can a regular expression validly begin with "*" a

Re: [Boston.pm] Email filtering...

2003-02-11 Thread darren chamberlain
* Stephen Reppucci [2003-02-11 11:00]: > Except for one thing: you'll want to swap those first two statements > in the for loop -- otherwise you'll end up escaping your regex '.'s > that replaced the wildcard '*'s... Damn. I did that in my test code, too, but pasted the wrong one in. Good catch.

Re: [Boston.pm] Email filtering...

2003-02-11 Thread darren chamberlain
* Simon Wilcox [2003-02-11 10:47]: > We can actually use CPAN modules (as long as they are pure perl) but > we need to distribute them as part of the code. Well, then, bundle in Email::Valid, because it's wonderful, and is (more or less) the definitive way to do what it does. (darren) -- Elega

Re: [Boston.pm] Email filtering...

2003-02-11 Thread darren chamberlain
* Wizard [2003-02-11 10:32]: > I guess I'll have to fail on at least some then, as that really isn't > an option. This is for filter sets, not really validity. I'm looking > at sets that look like this: > > *@aol.* > *@*.parliment.uk > fred@*.sourceforge.* > etc. Hmm, nice: # Assume @addrs is

Re: [Boston.pm] Email filtering...

2003-02-11 Thread darren chamberlain
* Wizard [2003-02-11 10:17]: > > Why not use Email::Valid? > > As I said in another email, this is for NMS, so I can't use anything that > doesn't come with the standard 5.0004(?) perl. Ah, I see. OK, then, I have a small module (Email.pm) that rips off from Email::Valid (I think, or it might h

Re: [Boston.pm] Email filtering...

2003-02-11 Thread darren chamberlain
* Wizard <[EMAIL PROTECTED]> [2003-02-11 09:47]: > I'm writing a script to do email filtering, and I have some questions: Why not use Email::Valid? NAME Email::Valid - Check validity of Internet email addresses SYNOPSIS use Email::Valid; print (Email::Valid->address(

Re: [Boston.pm] Module naming conventions

2003-02-11 Thread darren chamberlain
* Andrew M. Langmead [2003-02-10 22:47]: > On the other hand, when talking with the rest of the Boston.com dev > team about a new local namespace, I suggested that Local:: is exactly > what we were looking for. (I don't think the Foo_Corp:: suggestion was > there at the time) Everyone else argued

Re: [Boston.pm] Scoping consideration (ie, why don't my my variables work!)

2003-02-10 Thread darren chamberlain
* Richard Morse [2003-02-10 12:02]: > Hi! I'm writing a script which extracts data from a database, and creates a > new database in a different format. The idea is to allow investigators to > extract clinical study data into a format they can analyze. There's a project on sourceforge that is wr

Re: [Boston.pm] POSIX strftime...

2003-02-05 Thread darren chamberlain
* Wizard [2003-02-05 10:53]: > I'm working on a script for NMS, and I've encountered a problem. It's likely > just me, but for some reason the '%T' and '%R' format specifiers don't seem > to be working under Win2k, yet the '%H:%M' specifiers work. I've tried both > cygwin perl 5.6.1 and ActivePerl

Re: [Boston.pm] Job listings by programming language

2003-01-07 Thread darren chamberlain
* John Tobey <[EMAIL PROTECTED]> [2003-01-07 09:36]: > Btw, the sharp drop in C++ around 10/2002 smacks of a change in > statistics gathering methods. Yep: What happened on Oct 22, 2002 to cause that huge spike of more than 3500 listings? A few weeks before

Re: [Boston.pm] Job listings by programming language

2003-01-07 Thread darren chamberlain
* Joel Gwynn <[EMAIL PROTECTED]> [2003-01-07 08:18]: > Here's an interesting graph. While demand for perl has never been as > high as demand for other languages (C++, Java, etc.), the demand has not > petered off as much as those languages. > > http://mshiltonj.com/sm/categories/languages/ I fin

Re: [Boston.pm] OT: Favorite Mac OS X utilities

2003-01-03 Thread darren chamberlain
* Andrew M. Langmead [2003-01-03 11:47]: > The unicode support is nice. Your foreign spam comes in its proper > script, rather than funny escape characters that mess up for text > display (like frequently happens with mutt) ^ ...only if it isn't setup co

Re: [Boston.pm] OT: Favorite Mac OS X utilities

2003-01-02 Thread darren chamberlain
* Dan Sugalski <[EMAIL PROTECTED]> [2003-01-02 14:08]: > At 1:31 PM -0500 1/2/03, Drew Taylor wrote: > > I know everyone raves about mutt, and will probably look into it at > > some point. But it seems strange to be using a text-oriented mail > > program in one of the prettiest GUI's available. ;

Re: [Boston.pm] OT: Favorite Mac OS X utilities

2003-01-02 Thread darren chamberlain
* Drew Taylor <[EMAIL PROTECTED]> [2003-01-02 11:06]: > X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 > > I've recently gotten a Mac OS X (10.2.3) box up & running. Not using it yet, though, huh? :) > 2. What are your favorite/must have utilities? > 3. Are you using Mail for email? Plusses &

Re: [Boston.pm] for loop iterator variable -- !?

2002-11-21 Thread darren chamberlain
* Andrew M. Langmead <[EMAIL PROTECTED]> [2002-11-21 23:51]: > This would be an odd place to look to for efficiency. Maybe an odd place to look to make a script run more efficiently, but I personally find I have to think harder about $#array than about scalar @array, so the latter is more efficien

Re: [Boston.pm] for loop iterator variable -- !?

2002-11-21 Thread darren chamberlain
* Erik Price <[EMAIL PROTECTED]> [2002-11-21 22:37]: > On Sunday, December 8, 2002, at 11:56 PM, Komtanoo Pinpimai wrote: > > > you see? It is not elegant.. has perl this iterator variable ? > > Man! And I thought one of the nice things about Perl was you didn't > have to use an Iterator to tr

Re: [Boston.pm] for loop iterator variable -- !?

2002-11-21 Thread darren chamberlain
* Erik Price <[EMAIL PROTECTED]> [2002-11-21 22:20]: > Or don't even bother with $#array since "$n <= @array" forces scalar > context to the array, which causes it to interpolate to the number of > elements. > > Terser, quicker, more seductive. Such is the way of the dark side of > Perl programmi

Re: [Boston.pm] for loop iterator variable -- !?

2002-11-21 Thread darren chamberlain
* Bob Rogers <[EMAIL PROTECTED]> [2002-11-21 09:38]: > From: darren chamberlain <[EMAIL PROTECTED]> > Date: Thu, 21 Nov 2002 09:17:11 -0500 > > * Chris Devers <[EMAIL PROTECTED]> [2002-11-20 16:19]: > > > On Wed, 20 Nov 2002, darren chamberlain wrote: &

Re: [Boston.pm] for loop iterator variable -- !?

2002-11-21 Thread darren chamberlain
* Chris Devers <[EMAIL PROTECTED]> [2002-11-20 16:19]: > On Wed, 20 Nov 2002, darren chamberlain wrote: > > I think the answer is to use a C-style for loop: > > > > for (my $i = 0; $i < $#array; $i++) { > > # $i is your "iterator" > >

Re: [Boston.pm] for loop iterator variable -- !?

2002-11-20 Thread darren chamberlain
* Chris Devers <[EMAIL PROTECTED]> [2002-11-20 15:25]: > foreach $i (@array) { > # do something with $i > > # then if appropriate... > print $another_array[$i]; But $i is an element of the array, not an integer to be used as an offset, most likely. > # or, per

Re: [Boston.pm] Calling regex gurus ..A regex question..

2002-10-11 Thread darren chamberlain
* Ranga Nathan <[EMAIL PROTECTED]> [2002-10-11 13:42]: > I need to parse a string that has multiple occurrences of a pattern > that is determined by an embeded count. For example: > > 02 s1n1 s1n2 3 s2n1 s2n2 s2n3 1 s3n1 4 s4n1 s4n2 s4n3 s4n4 > > 02 is the count and I need to extract s1n1 and s2

Re: [Boston.pm] $/ and pattern matching

2002-09-24 Thread darren chamberlain
* Erik Price <[EMAIL PROTECTED]> [2002-09-23 17:30]: > Anyone know of a way to get a regular expression to respect the input > record separator ( $/ ), so that "$" represents the end of a line as > defined by $/ ? I'd do it a little differently: local $/; my $mileage; my @milage = split