Re: Help on perl core dump

2013-01-28 Thread John SJ Anderson
On Mon, Jan 28, 2013 at 9:27 PM, karthik sankaran wrote: > I am seeing a lot of core dump files created by perl. The perl-beginners list isn't the most appropriate forum for this issue -- dealing with the interpreter core dumping and how to troubleshoot that particular situation is well out of "b

Re: Help on perl core dump

2013-01-28 Thread karthik sankaran
"Why am I trying to debug a Perl configuration problem with the gdb()? Why didn't I read the first few lines of the error message (starting with "warning:") and fix the problem?" I am seeing a lot of core dump files created by perl. The only way I know to go through the core dump files is through

Is there any project similar to ruby's murder?

2013-01-28 Thread chenlin rao
I'm finding some perl project -- not a Bittorrent module that need a lot of own codes to write -- similar to twitter's murder( https://github.com/lg/murder) which is wrote by ruby. My website is Dancer and my cluster manager is Rex, so it may be strange to use the murder and capistrano for distribu

Re: Help on perl core dump

2013-01-28 Thread Bob goolsby
I suspect the real question is: "Why am I trying to debug a Perl configuration problem with the gdb()? Why didn't I read the first few lines of the error message (starting with "warning:") and fix the problem?" I get enough gdb() practice running against some gnarly (and barkley) C code in my cur

Re: BEGIN Block in CGI Script

2013-01-28 Thread Mike Flannigan
Thank you. On 1/28/2013 3:07 PM, Shawn Corey wrote: The attached CGI is useful for determining what a script's environment is.

Re: Abbreviating ordinals only in the middle of an address

2013-01-28 Thread Brandon McCaig
Paul Anderson: On Mon, Jan 28, 2013 at 03:32:01PM -0500, Paul Anderson wrote: > I'm thinking {2,}\w to match two or more words after north. /{2,}\w/ is not a valid regex. This is what perl will tell you (if your regex is exactly this and there's nothing in front of it to unintentionally precede

RE: Abbreviating ordinals only in the middle of an address

2013-01-28 Thread Wagner, David --- Sr Programmer Analyst --- CFS
>-Original Message- >From: Paul Anderson [mailto:wackyvor...@me.com] >Sent: Monday, January 28, 2013 13:32 >To: Angela Barone >Cc: beginners@perl.org >Subject: Re: Abbreviating ordinals only in the middle of an address > >I'm thinking {2,}\w to match two or more words after north. > >Sent f

Re: Abbreviating ordinals only in the middle of an address

2013-01-28 Thread Paul Anderson
I'm thinking {2,}\w to match two or more words after north. Sent from my iPhone On 2013-01-28, at 2:57 PM, Angela Barone wrote: > Hello, > >I'm trying to abbreviate ordinals(?) that occur only in the middle of an > address and I'm having a problem. The line below works: > > $test_data

Re: trying to understand HTML::TreeBuilder::XPath

2013-01-28 Thread Charles DeRykus
On Mon, Jan 28, 2013 at 8:21 AM, Brandon McCaig wrote: > On Sat, Jan 26, 2013 at 06:16:14PM -0800, Jim Gibson wrote: >> Better add periods to that regular expression character class: >> >> if( $link =~ /mailto:([\w@.]+)/ ) { >> >> … or include everything up to but not including the second double

Re: Abbreviating ordinals only in the middle of an address

2013-01-28 Thread Jim Gibson
On Jan 28, 2013, at 11:57 AM, Angela Barone wrote: > Hello, > > I'm trying to abbreviate ordinals(?) that occur only in the middle of > an address and I'm having a problem. The line below works: > > $test_data =~ s/(\S) North (\S)/$1 N. $2/i; > > however, if the address is something li

Abbreviating ordinals only in the middle of an address

2013-01-28 Thread Angela Barone
Hello, I'm trying to abbreviate ordinals(?) that occur only in the middle of an address and I'm having a problem. The line below works: $test_data =~ s/(\S) North (\S)/$1 N. $2/i; however, if the address is something like 901 North St., it abbreviates that as well. I'm wanting it to

Re: trying to understand HTML::TreeBuilder::XPath

2013-01-28 Thread Brandon McCaig
On Sat, Jan 26, 2013 at 06:16:14PM -0800, Jim Gibson wrote: > Better add periods to that regular expression character class: > > if( $link =~ /mailto:([\w@.]+)/ ) { > > … or include everything up to but not including the second double-quote: > > if( $link =~ /"mailto:([^"]+)/ ) { I've never

Re: Help on perl core dump

2013-01-28 Thread Mike Dunaway
So what was the question? On Jan 28, 2013, at 5:48 AM, karthik sankaran wrote: > gdb /usr/bin/perl /piroot/corefiles/core.21394 > > GNU gdb (GDB) Red Hat Enterprise Linux (7.2-56.el6) > > Copyright (C) 2010 Free Software Foundation, Inc. > > License GPLv3+: GNU GPL version 3 or later

Help on perl core dump

2013-01-28 Thread karthik sankaran
gdb /usr/bin/perl /piroot/corefiles/core.21394 GNU gdb (GDB) Red Hat Enterprise Linux (7.2-56.el6) Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it.