Re: Strongly typed perl

2002-05-17 Thread Neil Watkiss
Hi James, I work at ActiveState, so I'll take a shot at this. Using the same syntax as PerlNet for creating typed interfaces would be great. People only have to learn one syntax for both PerlNet apps and other modules. Whether you buy the PDK or not, this is a great idea. As for legality, Activ

Re: Types & suggestion

2002-05-17 Thread Mitchell N Charity
I'm getting an error with Inline that suggests that Inline doesn't handle unsigned longs: The problem is Inline::C::grammar (v0.43) doesn't parse "unsigned long". So if you thus declare a function, it doesn't get Inlined. As Clint mentioned, a work-around is to typedef an alias (and crea

Strongly typed perl

2002-05-17 Thread James Michael DuPont
Dear Inliners, It has been a busy period for me, and you might be interested in what I recently found out about PerNet, it uses Pod to declare strong types for language binding. http://aspn.activestate.com/ASPN/Perl/Reference/Products/PDK/PerlNET/Reference.html Could this be used to help create

Re: Types & suggestion

2002-05-17 Thread Clint Olsen
On May 16, Eric O'Dell wrote: > > I'm getting an error with Inline that suggests that Inline doesn't handle > unsigned longs: > > Can't locate auto/LEngine/alloc_bwb.al in @INC Eric: There is a typemap for unsigned long in Perl 5.6.1, so there's something else about your function that is