DBI and hosts file entries

2017-06-01 Thread Paul M via beginners
I have a hosts entry that points to a specific IP address. It does not appear that DBI:Sybase:server uses the /etc/hosts file? Is this correct?Ping works fine in shell.How would I point a server name to different IP addresses locally?What does DBI use for name resolution? Thanks!

Re: RegExp Searching - part deux

2009-01-08 Thread Paul M
#} } 4 any one to use :) Let me know if you see any problems... Thanks again everyone! --- On Thu, 1/8/09, Paul M wrote: From: Paul M Subject: RegExp Searching - part deux To: beginners@perl.org Date: Thursday, January 8, 2009, 8:18 AM What happens if I have a simple string: my $lin

RegExp Searching - part deux

2009-01-08 Thread Paul M
What happens if I have a simple string: my $line = "1elem21elema2a 1 bad13elema2 1 bad elemb2 bad 2 z 1elemc2c13elemc2b13elemb2e13elem2"; That must follow simply rules: Find every alpha character string between the numbers one and two. The string may not include the number one two or three. SO

Re: RegExp Searching within

2009-01-05 Thread Paul M
: Mr. Shawn H. Corey Subject: Re: RegExp Searching within To: pjm...@yahoo.com Cc: beginners@perl.org Date: Monday, January 5, 2009, 8:55 AM On Mon, 2009-01-05 at 08:17 -0800, Paul M wrote: > If it were true XML, I would say all children's Node Names. > so: > > You mean a

Re: RegExp Searching within

2009-01-05 Thread Paul M
-0800, Paul M wrote: > I want to know all the "elements" within elem1. (Note: It is > seriously MALFORMED XML, that is why I am attempting to use regexp). Do you want to know all the children or all the descendants? -- Just my 0.0002 million dollars worth, Shawn Program

RegExp Searching within

2009-01-05 Thread Paul M
Hi: Given the following list: I  want to know all the "elements" within elem1. (Note: It is seriously MALFORMED XML, that is why I am attempting to use regexp). Any ideas. I can get $1 equal to contents of elem1. But after that, somewhat lost.  perl -e '$line = ""; $line =~/(.*)<\/elem