Reads the next ResultI object from the stream and returns it. Certain driver modules may encounter entries in the stream that are either misformatted or that use syntax not yet understood by the driver. If such an incident is recoverable, e.g., by dismissing a feature of a feature table or some other non-mandatory part of an entry, the driver will issue a warning. In the case of a non-recoverable situation an exception will be thrown.If this function returns undef, it is likely (although the manual is silent about it) to indicate an "End-Of-File" or "End-of-Stream" situation rather than an error as errors will throw an exception.
It is a common idiom to wrap methods such as object->next_SOMETHING in a while-loop to automatically run through all results and finish when there are no more "next" things to process.
CountZero
A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James
In reply to Re: I don't understand error message
by CountZero
in thread I don't understand error message
by lomSpace
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |