All the examples i've tried from perlxs, perlxstut, perlapi, perlguts and perlembed have been up-to-date for me
I tried running the example of Mytest that is given in perlxstut, the code generated for me was different than the onw they're talking about in the tutorial and I couldn't make it work.