Hello, I'm beginner with Swissknife libraries and I need to parse a
SWISS-PROT file. I read the swissknife.sourceforge.net inline help but
I run some problems.
I would like to know how to use the SWISS::Refs library.
For example, with a $entry variable for the file path, I tried to use,
as explained :
$/="\/\/\n" ;
open (FILE, "$file_path") ;
while(<FILE>)
{
$entry = SWISS::Entry -> fromText($_) ;
@REF_ARRAY = $entry -> Refs -> list ;
...
}
But I can't apply RC or RX methods on the created object.
If you could say to me how to extract those fields, that yould be
great.
Thanks.
C. Tobini