[ create a new paste ] login | about

Link: http://codepad.org/bo8lD9KK    [ raw code | output | fork ]

Perl, pasted on Jan 19:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/perl -w

use SWISS::Entry;
use SWISS::KW;

local $/ ="\n//\n";

	while(<>) 
	{
		$entry = SWISS::Entry->fromText($_);
		$dr = $entry->DRs;
		$print $dr; ##gives only a hash reference, how do i get the value?
		}
	}


Output:
1
2
Can't locate SWISS/Entry.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i486-linux /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i486-linux /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .) at line 3.
BEGIN failed--compilation aborted at line 3.


Create a new paste based on this one


Comments: