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: Andy Hassall <andy_at_andyh.co.uk>
Date: Mon, 19 Jul 2004 22:36:25 +0100
Message-ID: <mifof0hdsuq671rqukvdougg1orro76apu@4ax.com>


On Mon, 19 Jul 2004 14:09:05 -0700, Tony Dare <tonydare_at_yahoo.com> wrote:

>> $temp_query = <<"QUERY_CREATE_PROC";
>I think this might be your problem --^
>
>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.

 That's the start of a perfectly good interpolated heredoc. Nothing wrong with it. There's a matching QUERY_CREATE_PROC at the end.

--
Andy Hassall <andy_at_andyh.co.uk> / Space: disk usage analysis tool
http://www.andyh.co.uk         / http://www.andyhsoftware.co.uk/space
Received on Mon Jul 19 2004 - 16:36:25 CDT

Original text of this message

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