Re: Free .net Perl compiler?
by Elian (Parson) on Aug 19, 2002 at 17:13 UTC
|
Alas, not that much innovation. .NET the bytecode engine is the JVM done over again, with a few stupid things removed and a few more added. The language interoperability's stuff we've been doing since the '70s, and the CLR is Yet Another Library of stuff.
Not, mind, that many other things in the computer industry can claim much in the way of innovation. But, then, neither can MS here. | [reply] |
|
|
| [reply] |
|
|
| [reply] |
|
|
Hmm or get a date for me for Friday night? ,
I Try to run this and it seems to loop over the print "Ouchie\n"; line nonstop. =)
open (PHONEBOOK, "/data/phone");
open (PICKUPLINES, "/data/lines");
@lines = <PICKUPLINES>;
while (<PHONEBOOK>) {
my($firstname, $lastname, $number) = split /:/;
print "Whoot!!!\n" if AskOnDate($firstname, $lastname, $number);
}
close PHONEBOOK;
close PICKUPLINES;
sub AskOnDate {
my($first, $last, $num) = @_;
foreach my $try (@lines) {
print "Hey there $first, $try";
if (Flirt::Getresponce eq "Slap") {
print "Ouchie!\n";
} else {
return "$first $last";
}
}
}
-Waswas | [reply] [d/l] |
Re: Free .net Perl compiler?
by Elian (Parson) on Aug 19, 2002 at 17:16 UTC
|
Oh, and one more important thing--there is no .NET perl compiler. They've got a foreign-code plugin thingie. When you run perl code under .NET, you're using a real perl interpreter. | [reply] |
|
|
| [reply] |
Re: Free .net Perl compiler?
by RMGir (Prior) on Aug 19, 2002 at 17:10 UTC
|
Looking at Visual Perl, it doesn't look like it generates .NET code; it's "just" a perl editor that
plugs into Visual Studio .NET. It does look like a heck of
a NICE editor, though.
The part that does seem to connect up to .NET somehow seems to be the Perl Dev Kit, which may or may not be included with Visual Perl. That part looks cheaper, but $195 is probably more than you want to spend...
I don't think you're likely to find a free alternative though. Activestate is home to a lot (I think) of the Win32 perl developers, and I think this was a pretty big project for them. It probably wouldn't be very easy to do for someone as a "side job"...
--
Mike | [reply] |
|
|
I have, I guess, only a vague understanding of what truly makes something ".NET" or not. I would love if someone would give me an hypothetical explanation of what a ".NET" version of perl code would entail.
I've been under the impression that a big part of .NET's essence is the concept of writing functions as Web Services. Such as, exposing the functionality of your program through a Soap API so any remote platform in any language can send a data object represented as XML and get back the results also as XML. If you haven't checked out Perl's SOAP modules, it sounds like they might interest you, by the way.
But how far away is using a SOAP architecture in web-based perl software to expose its API from it being ".NET". It's definetely becoming a buzzword, and seemingly very cool for something to be ".NET" compliant. But what does it mean? I would love a good explanation to this in regards to perl programming...
| [reply] |
|
|
For something to be really .NET, it would have to have a compiler that generates the .NET intermediate language compiled code, which could then be executed by the common language runtime environment.
SOAP and such are just a small part of what the framework provides; if all you want is SOAP interoperability, there is a perl module for that. Get the newest version, though, because it used to open up a pretty scary security hole...
--
Mike
Edit: Looks like you're not the only asking "What the heck is .NET?"
| [reply] |
|
|
For a decent and free IDE, you should check out Open Perl IDE.
"Open Perl IDE is an integrated development environment for writing and debugging Perl scripts with any standard perl distribution under Windows 95/98/NT/2000."
| [reply] |
Re: Free .net Perl compiler?
by snafu (Chaplain) on Aug 19, 2002 at 19:07 UTC
|
| [reply] |