Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Reaped: I'm trying out YAML, but I keep getting the following error: YAML Error: Stream does not end with newline character Code: YAML_PARSE_ERR_NO_FINAL_NEWLINE How do I fix this problem?

by NodeReaper (Curate)
on Oct 05, 2012 at 12:05 UTC ( #997458=perlquestion: print w/replies, xml ) Need Help??
NodeReaper has asked for the wisdom of the Perl Monks concerning the following question:

This node was taken out by the NodeReaper on Oct 05, 2012 at 12:54 UTC
Reason: [marto]: Reap: OP messaged, repost as How to resolve YAML Error

You may view the original node and the consideration vote tally.

  • Comment on Reaped: I'm trying out YAML, but I keep getting the following error: YAML Error: Stream does not end with newline character Code: YAML_PARSE_ERR_NO_FINAL_NEWLINE How do I fix this problem?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://997458]
help
Chatterbox?
[erix]: yeah... trepidation
Corion quivers with antici...
[choroba]: if you turn off autocommit and run a prepared statement which fails, the transaction is automatically rolled back, at least in DBD::Pg
[erix]: at least, I'll know where to find the documentation :P
[choroba]: but if there's no prepared statement, there's no rollback
[choroba]: the rollback happens when deallocating the prepared statement in error state.
[choroba]: is this something that Pg enforces, or just a consequence of the Perl implementation?
[choroba]: also, does it make any sense? We run different statements generated from input structures, sometimes prepared statements are involved, sometimes not. We want the behaviour to be consistent.

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2017-09-19 12:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (220 votes). Check out past polls.

    Notices?