Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Can't locate auto/HTML/TreeBuilder/disembowel.al

by pingo (Hermit)
on Sep 14, 2004 at 14:30 UTC ( #390850=note: print w/replies, xml ) Need Help??


in reply to Re: Can't locate auto/HTML/TreeBuilder/disembowel.al
in thread Can't locate auto/HTML/TreeBuilder/disembowel.al

My version of TreeBuilder is 3.13, but it seems it is much the same as 3.18 (the sub is the same, at least).
  • Comment on Re^2: Can't locate auto/HTML/TreeBuilder/disembowel.al

Replies are listed 'Best First'.
Re^3: Can't locate auto/HTML/TreeBuilder/disembowel.al
by ikegami (Pope) on Sep 14, 2004 at 15:06 UTC
    perl - <<'__EOP__' use HTML::TreeBuilder; print($HTML::TreeBuilder::VERSION, "\n"); print($INC{'HTML/TreeBuilder.pm'}, "\n"); my $tree = HTML::TreeBuilder->new; print($tree, "\n"); $tree->parse_file('file.html'); print($tree, "\n"); print('new_from_content: ', $::{'HTML::'}{'TreeBuilder::'}{'new_from_content'}?'yes':'no', "\n"); print('stunt: ', $::{'HTML::'}{'TreeBuilder::'}{'stunt' }?'yes':'no', "\n"); print('disembowel: ', $::{'HTML::'}{'TreeBuilder::'}{'disembowel' }?'yes':'no', "\n"); __EOP__

    HTML-Tree-3.11 looks like:

    3.11 r:/Utils/perl/site/lib/HTML/TreeBuilder.pm HTML::TreeBuilder=HASH(0x1abf008) HTML::TreeBuilder=HASH(0x1abf008) new_from_content: yes stunt: yes disembowel: no

    Disembowel doesn't exist in this version.

    HTML-Tree-3.18 should look like:

    3.13 r:/Utils/perl/site/lib/HTML/TreeBuilder.pm HTML::TreeBuilder=HASH(0x1abf008) HTML::TreeBuilder=HASH(0x1abf008) new_from_content: yes stunt: yes disembowel: yes
      Thanks, apparently the version of TreeBuilder installed on our backend cgi servers is 3.11... I guess I should have thought of that...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://390850]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2021-01-21 18:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?