Now I am able to get the values but I am not able to print those values my code
Hi, I am trying to print the values in perl while working with oracle my code is ---------------------------------------------------------------------- +------------------------ $sth = $dbh->prepare(q{ DECLARE user_id VARCHAR2(50); input_booking_seq VARCHAR2(50); fax_header VARCHAR2(50); file_no VARCHAR2(50); BEGIN select user_id,passkey, '//FAX(fax=' || passkey1, passkey2 into user_id,input_booking_seq,fax_header,file_no from edit_table where edit_table.tag = 'BOOKING' and edit_table.key = 'PRINT' and passkey = '1533805'; dbms_output.put_line('The values are '||input_booking_seq); END; }) or die $dbh->errstr; $dbh->func( 1000000, 'dbms_output_enable' ); $dbh->func( $values, 'dbms_output_put' ); $values = $dbh->func('dbms_output_get' ); $sth->execute; print "$values \n";
------------------------------------------------------------ Please Suggest

In reply to Re^3: Problem in Executing PL/SQL block with Perl by denzil_cactus
in thread Problem in Executing PL/SQL block with Perl by denzil_cactus

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.