Re: What is *.xs file?

2000-07-07 Thread Francesc Guasch

James G Smith wrote:
 
 I would start with `man h2xs' (only a start), and get _Programming Perl_,
 which talks about it some, as does _The Perl Cookbook_, I believe.  Then

Advanced Perl programming talks about it also.

-- 
 - frankie -



Re: What is *.xs file?

2000-07-06 Thread Sam Xie

 Umm this list is for perl as a module in apache
 not modules for perl...
 
Yes! It is for a perl module in apache.  I am going to write a perl module, 
which is capable to read a name list file in AFS for authenticattion and 
authorization.  That's why I am studying on this issue.  
Thanks for your help!
Sam




RE: What is *.xs file?

2000-07-06 Thread Geoffrey Young



 -Original Message-
 From: James G Smith [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, July 06, 2000 11:20 AM
 To: Sam Xie
 Cc: [EMAIL PROTECTED]
 Subject: Re: What is *.xs file? 
 
 
 Sam Xie [EMAIL PROTECTED] wrote:
  Umm this list is for perl as a module in apache
  not modules for perl...
  
 Yes! It is for a perl module in apache.  I am going to write 
 a perl module, 
 which is capable to read a name list file in AFS for 
 authenticattion and 
 authorization.  That's why I am studying on this issue.  
 Thanks for your help!
 Sam
 
 I would start with `man h2xs' (only a start), and get 
 _Programming Perl_, 
 which talks about it some, as does _The Perl Cookbook_, I 
 believe.  Then 
 there's the perlmodlib, perlxs, and perlxstut man pages.  The 
 first covers 
 writing perl modules, the second covers the xs interface, and 
 the last is a 
 tutorial.  After those, you might want to read perlguts (man 
 page covering the 
 internal functions within perl).  I haven't read through all 
 these, but they 
 would be my first place to look.

perlmonth.com had a rather nice set of XS articles starting in issue 6

issue 10 has links to all of them:
http://www.perlmonth.com/columns/modules/modules.html?issue=10

--Geoff

 -- 
 James Smith [EMAIL PROTECTED], 979-862-3725
 Texas AM CIS Operating Systems Group, Unix
 
 



RE: What is *.xs file?

2000-07-05 Thread Jerrad Pierce

Umm this list is for perl as a module in apache
not modules for perl...

However, .xs is a special blend of C for writing perl modules

try man perlxs

 -Original Message-
 From: Sam Xie [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, July 05, 2000 6:06 PM
 To: [EMAIL PROTECTED]
 Subject: What is *.xs file?
 
 
 Hi! There,
 I am learning to write a perl module.  I saw someone's 
 AFS.pm module, 
 in which, he wrote a AFS.xs file in C. I don'e know what .xs extension
 means and how to write it?  If someone knows it, it will be 
 gratefull to 
 help me to understand it!
 Thanks!
 Sam
 



Re: What is *.xs file?

2000-07-05 Thread Mehryar Mansoor

On Wed, 5 Jul 2000, Sam Xie wrote:

 Hi! There,
 I am learning to write a perl module.  I saw someone's AFS.pm module, 
 in which, he wrote a AFS.xs file in C. I don'e know what .xs extension
 means and how to write it?  If someone knows it, it will be gratefull to 
 help me to understand it!
 Thanks!
 Sam
 


  see:
  perldoc perlxs 

  or 

  http://www.perl.com/pub/doc/manual/html/pod/perlxs.html

 XS is a language used to create an extension interface
 between Perl and some C library which one wishes to use
 with Perl.