Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Inconsistent behavior between SQL*Plus and Perl DBI

Re: Inconsistent behavior between SQL*Plus and Perl DBI

From: John <jpeter1978_at_yahoo.com>
Date: 23 Jul 2004 08:09:09 -0700
Message-ID: <545336be.0407230709.4e17d0e2@posting.google.com>


> > *** Code Snippet ***
> >
> > $temp_query = <<"QUERY_CREATE_PROC";
> I think this might be your problem --^

Don't think so. I've used this format frequently. It's never been a issue.

> Perhaps oughtn't put a line terminator there. For the assignment you
> don't need the <<"QUERY_CREATE_PROC" either. perl is perfectly happy to
> read a multiline string up to the ";" terminator.

I use here-docs everywhere. They are not only good for printing multiple lines of text, but are also an easy way to document code. Received on Fri Jul 23 2004 - 10:09:09 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US