Subject: | Filename passthrough to RDF::Trine should be a file handle |
Date: | Tue, 09 Sep 2014 11:19:47 +0100 |
To: | bug-RDF-Helper [...] rt.cpan.org |
From: | Kieron Taylor <ktaylor [...] ebi.ac.uk> |
I've been playing with
$rdf->serialize(format => 'ntriples', filename => 'file.rdf');
The following error appears:
Can't use string ("file.rdf") as a symbol ref while "strict refs" in use
at
/Users/ktaylor/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/RDF/Trine/Serializer/NTriples.pm
line 89.
On tracing the code, it appears RDF::Trine expects a filehandle when
called in RDF::Helper::RDFTrine.
Regards,
--
Kieron Taylor PhD.
Ensembl Core team
EMBL-EBI