Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Perl and PostgreSQL regex

by tilly (Archbishop)
on Mar 03, 2009 at 19:28 UTC ( #747860=note: print w/replies, xml ) Need Help??


in reply to Re: Perl and PostgreSQL regex
in thread Perl and PostgreSQL regex

Using q instead of qq stops interpolation from working, but doesn't make one whit of difference for the syntax errors that he is asking about.

Replies are listed 'Best First'.
Re^3: Perl and PostgreSQL regex
by doom (Deacon) on Mar 03, 2009 at 22:31 UTC

    Not one whit, eh? Well, it's true that the code has multiple problems, but it would seem to me you need to have that one little detail right in order to have a hope of getting the right syntax errors...

    (By the way: is it my imagination, tilly, or did you just silently do an update to your own post to fix this problem?)

      Trust me, I've gotten regular expressions to work in PostgreSQL before. The errors he is reporting have to do with the need to use a string and backslash things properly. You have to get past that before you get to find out what other errors you might have. So the interpolation issue notwithstanding, he was looking at the most relevant error message.

      And you're right, I did add one q to one version of the code in my post. You'll note that I didn't do it on my first or my last version, and you'll note that I strongly recommended against using that version of the code.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://747860]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2018-07-16 06:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (333 votes). Check out past polls.

    Notices?