CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Advanced: Re: [kwatts59] Problem with fetchrow_array: Edit Log


Jun 24, 2017, 6:57 AM

Views: 22255
Re: [kwatts59] Problem with fetchrow_array

I assume that you mean that you print the last row, and then die with an error message when you try to fetch another row. This is exactly what I would expect if the 'RaiseError' attribute is set. If you really want to use this attribute, you could trap the error with an eval block. Exit the loop on this error. Re-throw the exception for any other error. (Refer eval)

UPDATE: See my new reply below.
Good Luck,

(This post was edited by BillKSmith on Jun 24, 2017, 3:16 PM)

Edit Log:
Post edited by BillKSmith (Veteran) on Jun 24, 2017, 3:16 PM

Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives