Re: [Boston.pm] module introspection

2011-08-09 Thread Ted Zlatanov
On Mon, 08 Aug 2011 12:48:22 -0400 Tom Metro tmetro-boston...@vl.com wrote: TM I have a command line utility I am developing that I'd like to be TM extendable with additional verbs such that you can do: TM command verb ...args... TM And I'd like the utility to be able to support new verbs by

Re: [Boston.pm] Q: giant-but-simple regex efficiency

2011-02-06 Thread Ted Zlatanov
On Sun, 06 Feb 2011 11:49:56 -0500 Charlie creit...@rcn.com wrote: C Given how you frame the problem, then the hash lookup isn't even an C option! No question, 6000+ string searches will be slow vs. a trie. C Given the varying requirements we all encounter, day-to-day, I think C this is an

Re: [Boston.pm] use Moose ?

2011-02-03 Thread Ted Zlatanov
On Wed, 2 Feb 2011 13:26:52 -0500 James Eshelman ja...@nova-sw.com wrote: JE Thanks Drew. It's good to hear that there's no noticeable RT penalty after JE startup, and the roles feature looks especially nice, along with the JE compatibility with Perl 6. -- Jim There's a very noticeable

Re: [Boston.pm] Java for Perl programmers?

2009-06-26 Thread Ted Zlatanov
On Thu, 25 Jun 2009 21:09:05 -0400 James Eshelman ja...@nova-sw.com wrote: JE That time has finally come for me that all good perl hackers dread -- being JE forced to code in Java. Most Java tutorials, websites, and books seem to JE target novice programmers. Anyone know of a condensed,

Re: [Boston.pm] merging lists that are ordered but not sorted

2008-01-30 Thread Ted Zlatanov
On Tue, 29 Jan 2008 16:27:16 -0500 (EST) Chris Devers [EMAIL PROTECTED] wrote: CD On Tue, 29 Jan 2008, Tolkin, Steve wrote: I want to reconstruct the underlying list. In other words the order of the elements agrees in all the lists, but there is no sort condition. ... CD Out of curiosity,

Re: [Boston.pm] Subroutine definition

2007-09-10 Thread Ted Zlatanov
On Mon, 10 Sep 2007 15:00:30 -0400 Ronald J Kimball [EMAIL PROTECTED] wrote: RJK On Mon, Sep 10, 2007 at 11:51:56AM -0700, Palit, Nilanjan wrote: I have to do some format conversions, so I'm defining subroutines like sub FormatConv_X2Y() ... RJK Other options include: RJK Creating a

Re: [Boston.pm] quick XML::Twig / variable scope problem

2007-08-25 Thread Ted Zlatanov
On Fri, 24 Aug 2007 19:32:05 -0400 Alex Brelsfoard [EMAIL PROTECTED] wrote: AB I would like to call a function that declares a few variables and then runs AB some XML::Twig processes which in turn access update said original AB variables. AB But I'm getting an error from my twig functions when

Re: [Boston.pm] [OT] DNS lookup? PLEASE REPLY OFF LIST

2007-02-01 Thread Ted Zlatanov
Sorry for posting to the list when the subject clearly said not to. Ted ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm

Re: [Boston.pm] LDAP server recommendations?

2006-11-13 Thread Ted Zlatanov
On 13 Nov 2006, [EMAIL PROTECTED] wrote: We have OpenLDAP @ $work. We use it for SAMBA and PAM and I am really happy with it. OpenLDAP is nice. I used it at a previous job. The problems I found lay with LDAP itself rather than this particular implementation. Be careful with the BDB backend,

Re: [Boston.pm] OLE, excel, and perl

2006-10-02 Thread Ted Zlatanov
On 2 Oct 2006, [EMAIL PROTECTED] wrote: On Oct 2, 2006, at 5:56 PM, Greg London wrote: I believe I was informed that OLE was the only way to do this. Or maybe I was drunk. Definitely not true. In fact, Spreadsheet::{Read,Write}Excel run just fine on Linux. While this is true, they are

Re: [Boston.pm] Short time in Boston

2006-09-15 Thread Ted Zlatanov
On 15 Sep 2006, [EMAIL PROTECTED] wrote: On Thu, Sep 14, 2006 at 06:42:48PM -0400, Uri Guttman wrote: JA == John Abreau [EMAIL PROTECTED] writes: JA David H. Adler wrote: So. Mom and I are taking a cruise next month up the east coast and into Canada. We've got a day (22 Oct, if I've got this

Re: [Boston.pm] perl 6

2006-07-14 Thread Ted Zlatanov
On 14 Jul 2006, [EMAIL PROTECTED] wrote: What other P6 features are considered big win motivators to start using P6 by others? I think the new grammar feature (to me, it's very similar to what Parse::RecDescent does today, but P::RD has problems and it's slow as noted by others) is going to

Re: [Boston.pm] Parser for C-like language?

2006-06-26 Thread Ted Zlatanov
On 23 Jun 2006, [EMAIL PROTECTED] wrote: On Fri, Jun 23, 2006 at 09:23:09AM -0400, Ted Zlatanov wrote: On 23 Jun 2006, [EMAIL PROTECTED] wrote: Wasn't there a C grammer for Parse::RecDescent ? Not that worked. Damian has acknowledged elsewhere that it shouldn't have been included. It works

Re: [Boston.pm] Perl Curses clarification

2006-06-02 Thread Ted Zlatanov
On 1 Jun 2006, [EMAIL PROTECTED] wrote: Let me clarify a bit more what I need to do. We want to use $USER to verify a valid user before running the program, so this is very unlikely go on the web or have a web interface. You can tie web-based authentication to an external user database

Re: [Boston.pm] Perl Curses clarification

2006-06-02 Thread Ted Zlatanov
On 2 Jun 2006, [EMAIL PROTECTED] wrote: The key is to let somebody else do as much of the authentication implementation as possible, as it's tricky and time-consuming to get right. The Unix login process can be subverted by sudo (not to mention that $USER can be set to anything, as

Re: [Boston.pm] Perl Curses?

2006-06-01 Thread Ted Zlatanov
On 1 Jun 2006, [EMAIL PROTECTED] wrote: I'm writing a command-line program to manage student grading for a course, which will run on the school's Unix boxes (it can't be put on the web for security reasons), and was debating what the best choice is to handle the user interface. Has anyone

Re: [Boston.pm] Put similarities in code and differences in data

2006-04-05 Thread Ted Zlatanov
Logically you can extend data-driven programming to storing opcodes with parameters in a database, and writing an interpreter in any language. That's a valid approach under some circumstances, in fact (see my article on this topic at

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

2005-03-01 Thread Ted Zlatanov
On Mon, 28 Feb 2005, [EMAIL PROTECTED] wrote: Sean, old boy, I'm astounded. Are you not aware that I've been doing exactly this using emacs? Daily? For more than 20 years now? It's called find-tag . . . For the less Emacs-savvy, the speedbar package may be ideal. It shows the functions

Re: [Boston.pm] (also) Perl

2005-02-28 Thread Ted Zlatanov
On Fri, 25 Feb 2005, [EMAIL PROTECTED] wrote: i still have my cert that i bought from them for my $2! it is all the perl cert i need. At the very least there should be a Perl hacker test (I haven't seen one). Here's a start... I'll be glad to maintain this (if there's been others, please let

Re: [Boston.pm] reading in a directory

2004-12-08 Thread Ted Zlatanov
On Tue, 7 Dec 2004, [EMAIL PROTECTED] wrote: Wow, well it's good to see we're all on the same page. Three replies all suggesting the same option.. zipped files. Yeah here's the trick. I'm trying to make this process easier for my mother, not myself. So in the end, this is adding

Re: [Boston.pm] OT: Courier IMAP

2004-12-07 Thread Ted Zlatanov
On Fri, 03 Dec 2004, [EMAIL PROTECTED] wrote: Ted Zlatanov wrote: Courier IMAP is very reliable and standards-compliant. The problem with Courier IMAP is the support community. When I researched it I found several people complaining about how the lead developer(s) ran the project. So I

Re: [Boston.pm] OT: Recommendation for mail server?

2004-12-03 Thread Ted Zlatanov
From experience (2000+ users, lots of research) I would recommend either qmail-ldap or Postfix for mail delivery (MTA) and Courier IMAP for IMAP and POP service. LDAP is essential if you plan to run a serious mail server. There's very few alternatives to a well-managed LDAP server for your user

Re: [Boston.pm] Tech Meeting Followup

2004-08-06 Thread Ted Zlatanov
On Fri, 6 Aug 2004, [EMAIL PROTECTED] wrote: Have you ever noticed a google resultset entry that didn't have a cache link? I don't know if it is something that a publisher can set programatically or if it is a business arrangement. Pages are cached by default. To get removed you have to

Re: [Boston.pm] Tech Meeting Followup

2004-08-06 Thread Ted Zlatanov
On Fri, 6 Aug 2004, [EMAIL PROTECTED] wrote: On Aug 6, 2004, at 6:14 AM, Ted Zlatanov wrote: You misunderstand. If registration is required, a crawler will fail anyway, Unless the crawler is itself registered. If I wrote a crawler, I'd keep a database of usernames and passwords

Re: [Boston.pm] Tech Meeting Followup

2004-08-06 Thread Ted Zlatanov
On Fri, 6 Aug 2004, [EMAIL PROTECTED] wrote: That's not a typical web crawler, and obviously not what I meant. Such databases already exist (e.g. bugmenot) but using them to rip a page is definitely abusive. Not abusive at all. It's a public service. It's abusive to the content provider who

Re: [Boston.pm] Tech Meeting Followup

2004-08-05 Thread Ted Zlatanov
On Thu, 5 Aug 2004, [EMAIL PROTECTED] wrote: On Thursday, August 5, 2004, at 05:56 PM, Ted Zlatanov wrote: ...or they should provide a mirrored version of the page at least :) I'm sure my employer would be thrilled about mirrored versions of the pages. It would cause them to lose ad

Re: [Boston.pm] Linux cluster and configuration management

2004-06-23 Thread Ted Zlatanov
On Wed, 23 Jun 2004, [EMAIL PROTECTED] wrote: Then we switched to net-booting over NFS, and it's even easier faster. There's no longer any need to configure each machine, beyond going into the bios and making sure that PXE boot over the network is enabled. Everything else can be managed on

Re: [Boston.pm] Komodo vs. emacs

2003-07-01 Thread Ted Zlatanov
On Mon, 30 Jun 2003, [EMAIL PROTECTED] wrote: Komodo's code-folding is cool. I installed a code-folding script in emacs (http://mah.everybody.org/docs/emacs/folding-cperl-mode), but it wasn't as flexible as Komodo's code-folding; it only folded top-level subroutines, whereas Komodo allows

Re: [Boston.pm] Help with very sluggish perl process?

2003-06-18 Thread Ted Zlatanov
Have you tested the subroutine without any data assignments, just: open(CXIBIO,+$ARGV[0]) or die Could NOT open $ARGV[0]\n; print CXIBIO $ARGV[1]\015; EP: while (1) { $REC=CXIBIO; if ( $REC =~ m/[EMAIL PROTECTED]/) { next EP; } if ( $REC =~ m/^0999/) { last EP; } }

Re: [Boston.pm] Looking for an elegant solution.

2003-02-02 Thread Ted Zlatanov
On Sat, 1 Feb 2003, [EMAIL PROTECTED] wrote: $_ = 'use_name,mat_id,use_id,use_fname,mat_name,use_lname'; How could I elegantly split/loop this into the following structure? %hash = ( use = [use_name,use_id,use_fname,use_lname], mat = [mat_id,mat_name] }; I started

Re: [Boston.pm] mimes!

2003-01-15 Thread Ted Zlatanov
On Wed, 15 Jan 2003, [EMAIL PROTECTED] wrote: When I want to forward the email, I do this: [...] print MAIL $$r{body}; [...] and this, of course, screws up html emails and mime-types. What's the easiest way to forward the email with all the mime types intact? If I can get away with it,