|
|
| Perl Monk, Perl Meditation | |
| PerlMonks |
Re: How to make EOF?by ELISHEVA (Prior) |
| on Mar 04, 2009 at 07:07 UTC ( [id://748015]=note: print w/replies, xml ) | Need Help?? |
|
Are you looking for an EOF (if so, just close the socket) or are you looking for a way within the YAML document to say "I'm done"? If so, from the YAML 1.0 spec (applies to 1.1 and 1.2 as well):
YAML uses three dashes (“---”) to separate documents within a stream. Comment lines begin with the pound sign (“#”). Three dots (“...”) indicate the end of a document without starting a new one, for use in communication channels. Best, beth
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||