From scott at illogics.org Fri Feb 9 02:53:37 2007 From: scott at illogics.org (Scott Walters) Date: Fri, 9 Feb 2007 10:53:37 +0000 Subject: [Phoenix-pm] Fwd: Named captures. Message-ID: <20070209105336.GY2993@straylight> More forthcoming regex features in 5.10... Enjoy! -scott ----- Forwarded message from Abigail ----- Date: Fri, 9 Feb 2007 11:52:37 +0100 From: Abigail To: demerphq Cc: perl5-porters at perl.org Subject: Named captures. User-Agent: Mutt/1.3.28i If a regular expression contains two named captures with the same name, $+ {NAME} returns the leftmost *defined* capture. I'm not sure how useful that is - I think I'd prefer the lefmost capture, whether defined or not. Consider the following code: my $re = qr /(?\d+)(?:\.(?\d+))?/; if ("1.2 3.4" =~ /$re $re/) { print $+ {integer}, " ", $+ {fraction} // "UNDEF", "\n"; } This prints "1 2", as expected. But if we change it to: my $re = qr /(?\d+)(?:\.(?\d+))?/; if ("1 3.4" =~ /$re $re/) { print $+ {integer}, " ", $+ {fraction} // "UNDEF", "\n"; } it prints "1 4", getting something from the first $re and something from the second. I would have expected "1 UNDEF". Now, my guess is that returning the leftmost defined capture is useful in cases like: /(?PAT1)bar|(?PAT2)baz/ But you could make use of (?|) then: /(?|(?PAT1)bar|(?PAT2))/ That is, if you have the same NAME repeated, return the leftmost capture regardless whether defined or not, and use (?| ) if you want the leftmost defined one. Alternatively, leave it as is, and have a way of getting to all the named captures, if if they share the same name. For instance after: my $re = qr /(?\d+)(?:\.(?\d+))?/; if ("1 3.4" =~ /$re $re/) { print $+ {integer}, " ", $+ {fraction} // "UNDEF", "\n"; } $+ {"integer"} eq '1' # Leftmost defined. $+ {"fraction"} eq '4' # Leftmost defined. $+ {"integer.1"} eq '1' # First capture of 'integer' $+ {"fraction.1"} eq undef # First capture of 'fraction' $+ {"integer.2"} eq '3' # Second capture of 'integer' $+ {"fraction.2"} eq '4' # Second capture of 'fraction' Another issue, the NAME of named captures have similar constraints on the name as identifiers - except that you cannot use '::' inside them. That's a pity because with '::' there would be an obvious way of using name spaces in your NAMEs. Abigail ----- End forwarded message ----- From perlguy at earthlink.net Fri Feb 9 16:20:49 2007 From: perlguy at earthlink.net (Douglas E. Miles) Date: Fri, 09 Feb 2007 17:20:49 -0700 Subject: [Phoenix-pm] [Fwd: Mail delivery failed: returning message to sender] Message-ID: <45CD0FE1.9070908@earthlink.net> Brock, Sorry for posting this to the list without running it passed you. I just tried to forward it to you, and got the below error. Everyone else, scroll to the bottom for the job opportunity. :) -------- Original Message -------- Subject: Mail delivery failed: returning message to sender Date: Fri, 09 Feb 2007 19:10:47 -0500 From: Mail Delivery System To: perlguy at earthlink.net This message was created automatically by mail delivery software (Exim). A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed: awwaiid at thelackthereof.org SMTP error from remote mailer after RCPT TO:: host mx1.epfarms.org [66.1.88.111]: 550-Callback setup failed while verifying 550-(result of an earlier callout reused). 550-The initial connection, or a HELO or MAIL FROM:<> command was 550-rejected. Refusing MAIL FROM:<> does not help fight spam, disregards 550-RFC requirements, and stops you from receiving standard bounce 550-messages. This host does not accept mail from domains whose servers 550-refuse bounces. 550 Your mailserver says your address doesn't exist (perlguy at earthlink.net). ------ This is a copy of the message, including all the headers. ------ Return-path: Received: from cpe-24-221-96-25.az.sprintbbd.net ([24.221.96.25] helo=[127.0.0.1]) by pop-altamira.atl.sa.earthlink.net with esmtp (Exim 3.36 #1) id 1HFfpB-0002JA-00 for awwaiid at thelackthereof.org; Fri, 09 Feb 2007 19:10:41 -0500 Message-ID: <45CD0DCF.8090100 at earthlink.net> Date: Fri, 09 Feb 2007 17:11:59 -0700 From: "Douglas E. Miles" User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: Brock Subject: [Fwd: Perl position] Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Brock. I just got this... -------- Original Message -------- Subject: Perl position Date: Thu, 8 Feb 2007 10:59:21 -0600 From: Johnny Letourneau Reply-To: To: I have a couple of permanent Perl development positions here in Dallas and wanted to know if I could network with you to get these positions in front of your groups .perhaps someone knows someone? Johnny Letourneau FidelisES Advanced Communication Solutions (ACS) 972-770-7919 johnny at acsdallas.com From scott at illogics.org Fri Feb 9 09:23:55 2007 From: scott at illogics.org (Scott Walters) Date: Fri, 9 Feb 2007 17:23:55 +0000 Subject: [Phoenix-pm] [Fwd: Mail delivery failed: returning message to sender] In-Reply-To: <45CD0FE1.9070908@earthlink.net> References: <45CD0FE1.9070908@earthlink.net> Message-ID: <20070209172355.GZ2993@straylight> This twit emailed me a few days ago asking me if I would forward that for him. I told him, very politely, that I'd prefer not to, as I didn't want to duplicate jobs.perl.org here on phoenix-pm, and that people interested in jobs outside Phoenix were sure to already be watching there (and that he should post there if he hadn't already). So, everyone... here's a bit of advice for ya'll. Stay clear of recruiters. If a company is having a hard time finding employees, it's probably a shitty place to work. -scott On 0, "Douglas E. Miles" wrote: > Brock, > > Sorry for posting this to the list without running it passed you. I just > tried to forward it to you, and got the below error. > > Everyone else, scroll to the bottom for the job opportunity. :) > > -------- Original Message -------- > Subject: Mail delivery failed: returning message to sender > Date: Fri, 09 Feb 2007 19:10:47 -0500 > From: Mail Delivery System > > To: perlguy at earthlink.net > > > > This message was created automatically by mail delivery software (Exim). > > A message that you sent could not be delivered to one or more of its > recipients. This is a permanent error. The following address(es) failed: > > awwaiid at thelackthereof.org > SMTP error from remote mailer after RCPT TO:: > host mx1.epfarms.org [66.1.88.111]: 550-Callback setup failed while verifying > 550-(result of an earlier callout reused). > 550-The initial connection, or a HELO or MAIL FROM:<> command was > 550-rejected. Refusing MAIL FROM:<> does not help fight spam, disregards > 550-RFC requirements, and stops you from receiving standard bounce > 550-messages. This host does not accept mail from domains whose servers > 550-refuse bounces. > 550 Your mailserver says your address doesn't exist (perlguy at earthlink.net). > > ------ This is a copy of the message, including all the headers. ------ > > Return-path: > Received: from cpe-24-221-96-25.az.sprintbbd.net ([24.221.96.25] helo=[127.0.0.1]) > by pop-altamira.atl.sa.earthlink.net with esmtp (Exim 3.36 #1) > id 1HFfpB-0002JA-00 > for awwaiid at thelackthereof.org; Fri, 09 Feb 2007 19:10:41 -0500 > Message-ID: <45CD0DCF.8090100 at earthlink.net> > Date: Fri, 09 Feb 2007 17:11:59 -0700 > From: "Douglas E. Miles" > User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) > MIME-Version: 1.0 > To: Brock > Subject: [Fwd: Perl position] > Content-Type: text/plain; charset=windows-1252; format=flowed > Content-Transfer-Encoding: 8bit > > Brock. I just got this... > > -------- Original Message -------- > Subject: Perl position > Date: Thu, 8 Feb 2007 10:59:21 -0600 > From: Johnny Letourneau > Reply-To: > To: > > > > I have a couple of permanent Perl development positions here in Dallas > and wanted to know if I could network with you to get these positions in > front of your groups??.perhaps someone knows someone? > > Johnny Letourneau > FidelisES > Advanced Communication Solutions (ACS) > 972-770-7919 > johnny at acsdallas.com > > > > _______________________________________________ > Phoenix-pm mailing list > Phoenix-pm at pm.org > http://mail.pm.org/mailman/listinfo/phoenix-pm From perlguy at earthlink.net Fri Feb 9 17:23:19 2007 From: perlguy at earthlink.net (Douglas E. Miles) Date: Fri, 09 Feb 2007 18:23:19 -0700 Subject: [Phoenix-pm] [Fwd: Mail delivery failed: returning message to sender] In-Reply-To: <20070209172355.GZ2993@straylight> References: <45CD0FE1.9070908@earthlink.net> <20070209172355.GZ2993@straylight> Message-ID: <45CD1E87.9000202@earthlink.net> Scott Walters wrote: > This twit emailed me a few days ago asking me if I would forward that for him. > I told him, very politely, that I'd prefer not to, as I didn't want to > duplicate jobs.perl.org here on phoenix-pm, and that people interested > in jobs outside Phoenix were sure to already be watching there (and that > he should post there if he hadn't already). > > So, everyone... here's a bit of advice for ya'll. Stay clear of recruiters. > If a company is having a hard time finding employees, it's probably a shitty > place to work. > > -scott > > Sorry, I didn't read it very carefully. Just tried to forward it and got distracted by the error. :) > On 0, "Douglas E. Miles" wrote: > >> Brock, >> >> Sorry for posting this to the list without running it passed you. I just >> tried to forward it to you, and got the below error. >> >> Everyone else, scroll to the bottom for the job opportunity. :) >> >> -------- Original Message -------- >> Subject: Mail delivery failed: returning message to sender >> Date: Fri, 09 Feb 2007 19:10:47 -0500 >> From: Mail Delivery System >> >> To: perlguy at earthlink.net >> >> >> >> This message was created automatically by mail delivery software (Exim). >> >> A message that you sent could not be delivered to one or more of its >> recipients. This is a permanent error. The following address(es) failed: >> >> awwaiid at thelackthereof.org >> SMTP error from remote mailer after RCPT TO:: >> host mx1.epfarms.org [66.1.88.111]: 550-Callback setup failed while verifying >> 550-(result of an earlier callout reused). >> 550-The initial connection, or a HELO or MAIL FROM:<> command was >> 550-rejected. Refusing MAIL FROM:<> does not help fight spam, disregards >> 550-RFC requirements, and stops you from receiving standard bounce >> 550-messages. This host does not accept mail from domains whose servers >> 550-refuse bounces. >> 550 Your mailserver says your address doesn't exist (perlguy at earthlink.net). >> >> ------ This is a copy of the message, including all the headers. ------ >> >> Return-path: >> Received: from cpe-24-221-96-25.az.sprintbbd.net ([24.221.96.25] helo=[127.0.0.1]) >> by pop-altamira.atl.sa.earthlink.net with esmtp (Exim 3.36 #1) >> id 1HFfpB-0002JA-00 >> for awwaiid at thelackthereof.org; Fri, 09 Feb 2007 19:10:41 -0500 >> Message-ID: <45CD0DCF.8090100 at earthlink.net> >> Date: Fri, 09 Feb 2007 17:11:59 -0700 >> From: "Douglas E. Miles" >> User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) >> MIME-Version: 1.0 >> To: Brock >> Subject: [Fwd: Perl position] >> Content-Type: text/plain; charset=windows-1252; format=flowed >> Content-Transfer-Encoding: 8bit >> >> Brock. I just got this... >> >> -------- Original Message -------- >> Subject: Perl position >> Date: Thu, 8 Feb 2007 10:59:21 -0600 >> From: Johnny Letourneau >> Reply-To: >> To: >> >> >> >> I have a couple of permanent Perl development positions here in Dallas >> and wanted to know if I could network with you to get these positions in >> front of your groups .perhaps someone knows someone? >> >> Johnny Letourneau >> FidelisES >> Advanced Communication Solutions (ACS) >> 972-770-7919 >> johnny at acsdallas.com >> >> >> >> _______________________________________________ >> Phoenix-pm mailing list >> Phoenix-pm at pm.org >> http://mail.pm.org/mailman/listinfo/phoenix-pm >> From scott at illogics.org Fri Feb 9 11:28:54 2007 From: scott at illogics.org (Scott Walters) Date: Fri, 9 Feb 2007 19:28:54 +0000 Subject: [Phoenix-pm] [Fwd: Mail delivery failed: returning message to sender] In-Reply-To: <45CD1E87.9000202@earthlink.net> References: <45CD0FE1.9070908@earthlink.net> <20070209172355.GZ2993@straylight> <45CD1E87.9000202@earthlink.net> Message-ID: <20070209192854.GA2993@straylight> S'ok. Didn't mean to give you a hard time about it. Just wanted to give the recruiter a little tongue lashing. Keeping busy these days, Doug? -scott On 0, "Douglas E. Miles" wrote: > Scott Walters wrote: > >This twit emailed me a few days ago asking me if I would forward that for > >him. > >I told him, very politely, that I'd prefer not to, as I didn't want to > >duplicate jobs.perl.org here on phoenix-pm, and that people interested > >in jobs outside Phoenix were sure to already be watching there (and that > >he should post there if he hadn't already). > > > >So, everyone... here's a bit of advice for ya'll. Stay clear of > >recruiters. > >If a company is having a hard time finding employees, it's probably a > >shitty > >place to work. > > > >-scott > > > > > Sorry, I didn't read it very carefully. Just tried to forward it and got > distracted by the error. :) > >On 0, "Douglas E. Miles" wrote: > > > >>Brock, > >> > >>Sorry for posting this to the list without running it passed you. I just > >>tried to forward it to you, and got the below error. > >> > >>Everyone else, scroll to the bottom for the job opportunity. :) > >> > >>-------- Original Message -------- > >>Subject: Mail delivery failed: returning message to sender > >>Date: Fri, 09 Feb 2007 19:10:47 -0500 > >>From: Mail Delivery System > >> > >>To: perlguy at earthlink.net > >> > >> > >> > >>This message was created automatically by mail delivery software (Exim). > >> > >>A message that you sent could not be delivered to one or more of its > >>recipients. This is a permanent error. The following address(es) failed: > >> > >> awwaiid at thelackthereof.org > >> SMTP error from remote mailer after RCPT > >> TO:: > >> host mx1.epfarms.org [66.1.88.111]: 550-Callback setup failed while > >> verifying > >> 550-(result of an earlier callout reused). > >> 550-The initial connection, or a HELO or MAIL FROM:<> command was > >> 550-rejected. Refusing MAIL FROM:<> does not help fight spam, > >> disregards > >> 550-RFC requirements, and stops you from receiving standard bounce > >> 550-messages. This host does not accept mail from domains whose > >> servers > >> 550-refuse bounces. > >> 550 Your mailserver says your address doesn't exist > >> (perlguy at earthlink.net). > >> > >>------ This is a copy of the message, including all the headers. ------ > >> > >>Return-path: > >>Received: from cpe-24-221-96-25.az.sprintbbd.net ([24.221.96.25] > >>helo=[127.0.0.1]) > >> by pop-altamira.atl.sa.earthlink.net with esmtp (Exim 3.36 #1) > >> id 1HFfpB-0002JA-00 > >> for awwaiid at thelackthereof.org; Fri, 09 Feb 2007 19:10:41 -0500 > >>Message-ID: <45CD0DCF.8090100 at earthlink.net> > >>Date: Fri, 09 Feb 2007 17:11:59 -0700 > >>From: "Douglas E. Miles" > >>User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) > >>MIME-Version: 1.0 > >>To: Brock > >>Subject: [Fwd: Perl position] > >>Content-Type: text/plain; charset=windows-1252; format=flowed > >>Content-Transfer-Encoding: 8bit > >> > >>Brock. I just got this... > >> > >>-------- Original Message -------- > >>Subject: Perl position > >>Date: Thu, 8 Feb 2007 10:59:21 -0600 > >>From: Johnny Letourneau > >>Reply-To: > >>To: > >> > >> > >> > >>I have a couple of permanent Perl development positions here in Dallas > >>and wanted to know if I could network with you to get these positions in > >>front of your groups??.perhaps someone knows someone? > >> > >>Johnny Letourneau > >>FidelisES > >>Advanced Communication Solutions (ACS) > >>972-770-7919 > >>johnny at acsdallas.com > >> > >> > >> > >>_______________________________________________ > >>Phoenix-pm mailing list > >>Phoenix-pm at pm.org > >>http://mail.pm.org/mailman/listinfo/phoenix-pm > >> From perlguy at earthlink.net Sun Feb 11 18:08:34 2007 From: perlguy at earthlink.net (Douglas E. Miles) Date: Sun, 11 Feb 2007 19:08:34 -0700 Subject: [Phoenix-pm] [Fwd: Mail delivery failed: returning message to sender] In-Reply-To: <20070209192854.GA2993@straylight> References: <45CD0FE1.9070908@earthlink.net> <20070209172355.GZ2993@straylight> <45CD1E87.9000202@earthlink.net> <20070209192854.GA2993@straylight> Message-ID: <45CFCC22.4080704@earthlink.net> Scott Walters wrote: > S'ok. Didn't mean to give you a hard time about it. Just wanted to > give the recruiter a little tongue lashing. > > No worries. :) > Keeping busy these days, Doug? > > Fortunately, things are starting to slow down a little. Last year was brutal. > -scott > > On 0, "Douglas E. Miles" wrote: > >> Scott Walters wrote: >> >>> This twit emailed me a few days ago asking me if I would forward that for >>> him. >>> I told him, very politely, that I'd prefer not to, as I didn't want to >>> duplicate jobs.perl.org here on phoenix-pm, and that people interested >>> in jobs outside Phoenix were sure to already be watching there (and that >>> he should post there if he hadn't already). >>> >>> So, everyone... here's a bit of advice for ya'll. Stay clear of >>> recruiters. >>> If a company is having a hard time finding employees, it's probably a >>> shitty >>> place to work. >>> >>> -scott >>> >>> >>> >> Sorry, I didn't read it very carefully. Just tried to forward it and got >> distracted by the error. :) >> >>> On 0, "Douglas E. Miles" wrote: >>> >>> >>>> Brock, >>>> >>>> Sorry for posting this to the list without running it passed you. I just >>>> tried to forward it to you, and got the below error. >>>> >>>> Everyone else, scroll to the bottom for the job opportunity. :) >>>> >>>> -------- Original Message -------- >>>> Subject: Mail delivery failed: returning message to sender >>>> Date: Fri, 09 Feb 2007 19:10:47 -0500 >>>> From: Mail Delivery System >>>> >>>> To: perlguy at earthlink.net >>>> >>>> >>>> >>>> This message was created automatically by mail delivery software (Exim). >>>> >>>> A message that you sent could not be delivered to one or more of its >>>> recipients. This is a permanent error. The following address(es) failed: >>>> >>>> awwaiid at thelackthereof.org >>>> SMTP error from remote mailer after RCPT >>>> TO:: >>>> host mx1.epfarms.org [66.1.88.111]: 550-Callback setup failed while >>>> verifying >>>> 550-(result of an earlier callout reused). >>>> 550-The initial connection, or a HELO or MAIL FROM:<> command was >>>> 550-rejected. Refusing MAIL FROM:<> does not help fight spam, >>>> disregards >>>> 550-RFC requirements, and stops you from receiving standard bounce >>>> 550-messages. This host does not accept mail from domains whose >>>> servers >>>> 550-refuse bounces. >>>> 550 Your mailserver says your address doesn't exist >>>> (perlguy at earthlink.net). >>>> >>>> ------ This is a copy of the message, including all the headers. ------ >>>> >>>> Return-path: >>>> Received: from cpe-24-221-96-25.az.sprintbbd.net ([24.221.96.25] >>>> helo=[127.0.0.1]) >>>> by pop-altamira.atl.sa.earthlink.net with esmtp (Exim 3.36 #1) >>>> id 1HFfpB-0002JA-00 >>>> for awwaiid at thelackthereof.org; Fri, 09 Feb 2007 19:10:41 -0500 >>>> Message-ID: <45CD0DCF.8090100 at earthlink.net> >>>> Date: Fri, 09 Feb 2007 17:11:59 -0700 >>>> From: "Douglas E. Miles" >>>> User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) >>>> MIME-Version: 1.0 >>>> To: Brock >>>> Subject: [Fwd: Perl position] >>>> Content-Type: text/plain; charset=windows-1252; format=flowed >>>> Content-Transfer-Encoding: 8bit >>>> >>>> Brock. I just got this... >>>> >>>> -------- Original Message -------- >>>> Subject: Perl position >>>> Date: Thu, 8 Feb 2007 10:59:21 -0600 >>>> From: Johnny Letourneau >>>> Reply-To: >>>> To: >>>> >>>> >>>> >>>> I have a couple of permanent Perl development positions here in Dallas >>>> and wanted to know if I could network with you to get these positions in >>>> front of your groups .perhaps someone knows someone? >>>> >>>> Johnny Letourneau >>>> FidelisES >>>> Advanced Communication Solutions (ACS) >>>> 972-770-7919 >>>> johnny at acsdallas.com >>>> >>>> >>>> >>>> _______________________________________________ >>>> Phoenix-pm mailing list >>>> Phoenix-pm at pm.org >>>> http://mail.pm.org/mailman/listinfo/phoenix-pm >>>> >>>> From intertwingled at qwest.net Mon Feb 26 12:51:17 2007 From: intertwingled at qwest.net (Anthony R. Nemmer) Date: Mon, 26 Feb 2007 13:51:17 -0700 Subject: [Phoenix-pm] tempe.pm meeting Message-ID: <45E34845.5020007@qwest.net> Dear Phoenix PM members: We will be having a Tempe/East Valley Perlmongers meeting at Tempe Four Peaks on March 3rd at 2 P.M. Everyone's invited. It's a social meeting Tony -- I always have coffee when I watch radar!