I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2007-06-04 19:50:36-07 by rbi
YAML fails
Running This is perl, v5.8.5 built for x86_64-linux-thread-multi YAML 0.62 2 bugs: first, it fails with YAML Error: Couldn't parse single line value Code: YAML_PARSE_ERR_SINGLE_LINE Line: 12 Document: 1 at /usr/lib/perl5/site_perl/5.8.5/YAML.pm line 33 using this file:-- # $Id: # # Config file for all processor scripts. Format is YAML for # cross language compatibility. ruby_base_dir: /data/scripts/tnr/ruby #base dir for ruby app archive_base: /data/archive/tnr/usage in_base: /data/work/tnr/usage out_base: /data/work/tnr/processed/ #will be appended to RAILS_ROOT if not absolute logger_level: INFO #logging level for log parser. independent of logging level for Rails inbound_log_delimiter: "\xbb" #delimiter for incoming logs outbound_delimiter: "\t" value_size_limit: 999 #values with size greater than this will be truncated click_path_length: 5 #self explanitory If I remove the \xbb line it works fine. Second bug. Heres' the output of a YAML dump. Please note the value of the key:value pair contains the comments. Shouldn't I would think... --- archive_base: /data/archive/tnr/usage click_path_length: '5 #self explanitory' in_base: /data/work/tnr/usage logger_level: 'INFO #logging level for log parser. independent of logging level for Rails' out_base: '/data/work/tnr/processed/ #will be appended to RAILS_ROOT if not absolute' outbound_delimiter: ' ' ruby_base_dir: '/data/scripts/tnr/ruby #base dir for ruby app' value_size_limit: '999 #values with size greater than this will be truncated' There we are. Any thoughts would be appreciated. Ray
Direct Responses: Write a response