Hello all,

  I'm quite new to this XS-thing, so please bear with me.
  In example 3 of the perlxstut page, the "round" function, it is shown
that a constant can not be changed. That's fair enough -- but how can I
return a "fresh" value back to the calling Perl program? How would the code
of example 3 have to be modified to be able to do "$i = Mytest::round(4.5)"
in the test-program?
  I've looked around for this, but all I could find is the OUTPUT-keyword,
which does exactly the opposite.

Thanks for your help.

Hein

Reply via email to