Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Inconsistent behavior between SQL*Plus and Perl DBI
> > *** 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
![]() |
![]() |