[Mono-list] Hackers with Windows boxes + Perl needed

Rich Wareham rjw57@hermes.cam.ac.uk
Wed, 24 Mar 2004 11:07:49 +0000


Hi,

  I was wondering if anyone on this list had a Windows box + Mono + Perl that 
could try out my Perl interpreter bindings for C#[1]. Basically I wanted 
access to all the useful utilities out there on CPAN[2] that aren't yet 
available in managed code or in the standard class libraries. The 
distribution gives a sample IMAP client using Mail::IMAPClient.

  It works on Linux (Gentoo & SuSE 9) and seems to work OK on OS X with a 
little munging of the library names and modulo mono-wierdness wrt exceptions 
(yes I know about mint...). I'd ideally like it to work on Windows as well, 
then it could be a truly cross-platform way of getting lots of functionality 
into C# for 'free'.

  I've based the build system on Gtk#. For those that just want to look at how 
easy it is to embed Perl using the powerful features of C# take a look at the 
IMAP example[3]. C# really does make this nice, a lot nicer than the Perl C 
API! For example Scalars are auto-boxed to the approriate fundamental types 
(int, double, string).

[1] http://www.srcf.ucam.org/~rjw57/mono_files/
[2] http://search.cpan.org/
[3] http://charon.ucam.org/mason/highlight.html?file=IMAPExample.cs

-- 
Rich