I think you have an extra '/' in there for an m// operation.  Also,
maybe I'm just looking at this wrong, since I wasn't following the whole
thread, but wouldn't that be the same as this?

        while( $_ !~ /\(/ ){

which (purely my opinion) is a little easier to read?

-----Original Message-----
From: Dan Anderson [mailto:[EMAIL PROTECTED] 
Sent: Sunday, November 09, 2003 4:39 PM
To: [EMAIL PROTECTED]
Subject: Re: How best to grab SQL table names?

oops that should be
while (not ($_ =~ m/\(//)) { # match the first parenthesis and not:
while (not ($_ =~ m/)//)) {  # match last parenthesis

My apologies,

Dan

--
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional
commands, e-mail: [EMAIL PROTECTED]


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to