in reply to Re: "Perlifying" an XSpp method
in thread "Perlifying" an XSpp method

If you still want the sameness, you can do like this

sub Compress::DSRC::Archive::NextSeq { my( $reader ) = @_; my $seq = Compress::DSRC::FastqRecord->new; return $seq if $reader->next_seq($seq) return undef; }

Replies are listed 'Best First'.
Re^3: "Perlifying" an XSpp method
by jdv (Sexton) on Mar 09, 2015 at 03:31 UTC
    Thanks for this suggestion. I'm not sure why I didn't think of doing this in the Perl class rather than mucking about in the XS.