how to specify namespace in perlxs

2005-09-07 Thread Dongxu Ma
Hi all, Does any one know why I can't add 'using namespace brabra;' in .xs file? The xsubpp can't recognize while generating the .c file. -- Bst Rgrs, Dongxu

Re: how to specify namespace in perlxs

2005-09-07 Thread John Peacock
Dongxu Ma wrote: Does any one know why I can't add 'using namespace brabra;' in .xs file? The xsubpp can't recognize while generating the .c file. Because use namespace brabra; is a Perl pragma, not C/XS. What are you trying to do? John -- John Peacock Director of Information