tag:selfsolved.com,2005:/problems/reversing-pdb-files-to-pml/sSolutions for: Reversing PDB files to PML | SelfSolveda SelfSolved feed2009-07-24T19:47:32Z1SelfSolvedtag:selfsolved.com,2005:Array/69923140270080yliu 1. use CPAN to install EBook::Tools::EReader 2. Either use this sample code directly in a .pl file use EBook::Tools::EReader;
my $pdb = EBook::Tools::EReader->new();
$pdb->Load('myfile-er.pdb');
my $html = $pdb->html;
my $pml = $pdb->pml;
print $pml; 3. or open up a Perl interactive debugger perl -d -e 1 and drop all the my declarations from the above snippet.
You can probably whip up a quick Perl script to do this directly and print to STDOUT. Too lazy today to write that code for just this single-use case.