Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the YAML CPAN distribution.

Report information
The Basics
Id: 38520
Status: open
Priority: 0/
Queue: YAML

People
Owner: Nobody in particular
Requestors: johann.petrak [...] chello.at
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.66
Fixed in: (no value)



Subject: Functions to read from a stream and read single documents
When sequentially processing files that contain a large number of documents, the only option now is to read in all the documents at once. This could require a large amount of memory unnecessarily. It would therefore be very useful to have a function that can just read in a single document from an open stream. To make this more general, functions for reading from and writing to open streams would be useful. The function for reading from an open stream could then have a parameter that specifies the maximum number of documents to read at once.
This issue has been copied to: https://github.com/ingydotnet/yaml-pm/issues/90 please take all future correspondence there. This ticket will remain open but please do not reply here. This ticket will be closed when the github issue is dealt with.