Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Latex::Tom::Node example

by Khen1950fx (Canon)
on Dec 15, 2012 at 21:00 UTC ( #1009010=note: print w/replies, xml ) Need Help??


in reply to Latex::Tom::Node example

And what is "group matching"? Did you mean something like this?
#!/usr/bin/perl use strict; use autodie; use warnings; use LaTeX::TOM; use Data::Dumper::Concise; my $file = 'input.tex'; open my $fh, '<', $file; my $parser = LaTeX::TOM->new; my $tree = $parser->parseFile($file); $tree->getNodesByCondition( sub { my $node = shift; $node->getNextGroupNode; print Dumper($node); } );

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1009010]
help
Chatterbox?
[tye]: Corion, I used to have my "last here" updated when I chatted. I still visit regularly but I rarely chat. So I modified my cookie today.

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2017-04-28 14:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (524 votes). Check out past polls.