APM: YAML url mappings

Ian Remmler ian at remmler.org
Wed Sep 22 15:09:45 CDT 2004


On Wed, Sep 22, 2004 at 01:16:29PM -0500, Sam Foster wrote:
> it doesn't like '/' as a starting character (or '~,' or '.'. Is it 
> matching with something like /\s*\w+/ ?.. must take a look.)
> 
> I looked through the YAML perldocs, and the spec and found nothing about 
> illegal or allowed characters that might explain this. Does that make it 
> a bug? Anyone have any thoughts, workarounds or suggestions?

I just installed YAML::Parser::Syck, and it worked just fine
with that.  I'm guessing it's a bug in YAML.pm, but I haven't
looked at it to find it.  I think the only special characters at
the start of an entry are !, &, and *.  YAML.pm does work if you
quote, e.g.

---
'/old/dir': '/new/dir'
...

	- Ian.

-- 
Go banana!


More information about the Austin mailing list