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

The beauty of mirroring the C++ api is you're mirroring the C++ api -- its like the same API, same names, same usage (basically)

Well, fair enough. This way of "recycling" the FastqRecord object seems awkward in an otherwise OO module (at least to someone who learned Perl first and only later delved into C/C++). I do see your point, however - sticking as close as possible to the C++ API probably has the least potential for confusion and will be easiest to maintain.

Avoid XS as much as possible, unless you want to learn a lot about XS instead of just getting on with whatever task you have to complete

That is advice that I have no problem embracing.