Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: Dynamically parse BibTeX and create hash of hash

by Anonymous Monk
on Dec 07, 2012 at 22:03 UTC ( #1007831=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Dynamically parse BibTeX and create hash of hash
in thread Dynamically parse BibTeX and create hash of hash

Something like this? (untested)

for my $bibkey (sort keys %bibliography) { my $entry = $bibliography{$bibkey}; print "$bibkey:\n"; for my $key (sort keys %$entry) { print "\t$key => ", $entry->{$key}, "\n"; } }

Alternatively, $Data::Dumper::Sortkeys = 1;


Comment on Re^3: Dynamically parse BibTeX and create hash of hash
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2015-07-05 07:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls