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-07-20 05:15:43-07 by mirod in response to 5760
Re: I'm having a little problem

parse_file doesn't do what you think, but, as usual, what it says ;--) It parses a file, not a string. So this time it tries to parse a file with avery, very long name, full of pointy brackets, with the same result as your previous attempt. Replace parse_file by parse and you'll be all set.

A couple more things:
- what you should have printed, in order to check that the tree was properly created, is not $html, but $tree->as_HTML,
- always, ALWAYS, use strict, and most of the time use warnings, that will save you a lot aggravation when you develop

Direct Responses: 5773 | Write a response