On 24.10.2012 21:00 John Siracusa wrote:
>> #!/usr/bin/perl
>> use Rose::HTML::Objects;
>> use Rose::HTML::Text; # and Bumm!
>
> That script works for me. What version of Rose::HTML::Objects do you
> have? You might need a newer version to resolve this.
I tried it with both 0.616 and 0.610. That should be the most recent
version and the one I had on my previous server.
As I said, the problem only occurs if the modules are loaded in this
sequence. Everything is fine if I load them the other way round.
Since there are some more reports of the same problem in the archives,
perhaps it is dependent on the version of some other module? After all
both modules are from the same CPAN-distribution with little room for
incompatibilities and you cannot reproduce the problem. So it must be
something external but related, at least that is my guess.
I would like to track this down if you are interested, perhaps off list
like with another problem we could resolve some time ago.
One idea would be to compare the versions of the complete dependency
tree. But with your better knowledge of the code you might have other ideas.
-Michael
p.s.: I just tested the little script on the old server with perl 5.10.1
and RHTMLO 0.610: same problem.