Hi,
I am using perl to run a PL/SQL block, where i need to get the rows deleted after running the PL/SQL block. When i use ordinary sql query(delete statment), it returns the number of rows deleted, but in PL/SQL even in use DBMS_OUTPUT.put_line, it returns only the value 1 to the ret variable.
$sql=PL/SQL block with DBMS_OUTPUT.put_line(to_char(rowcnt));
$ret=$db->execute($sql);