Main > Programming > Libraries >

ObjectivePerl 0.04

ObjectivePerl 0.04

Sponsored Links

ObjectivePerl 0.04 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.016 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 854
Date added: 2007-06-22
Publisher: Kyle Dawkins

ObjectivePerl 0.04 description

ObjectivePerl is an Objective-C style syntax and runtime for perl.

SYNOPSIS

use ObjectivePerl;
@implementation MyClass
{
$someInstanceVariable;
@private: $privateInstanceVariable;
@protected: $normalInstanceVariable, $anotherInstanceVariable;
}

+ new {
return ~[$super new];
}

- setSomeInstanceVariable: $value {
$someInstanceVariable = $value;
}

- someInstanceVariable {
return $someInstanceVariable;
}
@end
then, from a calling script or class:
use ObjectivePerl;
...
my $instance = ~[MyClass new];
~[$instance setSomeInstanceVariable: "Hey you!"];
print ~[$instance someInstanceVariable]."n";

ObjectivePerl adds obj-c style syntax (although its implemented with ~[] instead of just []) along with an obj-c style runtime that is very lightweight but makes the perl runtime a little more friendly to obj-c programmers.

Why, you ask? Just because. Obj-c has the easiest-to-read syntax of just about any language. It has Smalltalk-style named arguments that are built into the method signature, so when you invoke those methods, youre forced to invoke them neatly, in a very legible fashion:

~[$window setTitleTo:"New window" withColor:0xffffff
andBackground:0x000000];

can never be misunderstood, whereas

$window->setTitle("New window", 0xffffff, 0x00000);

could be. Perl offers named arguments already in the form of hashes, but these are unwieldy (to an obj-c programmer).

ObjectivePerl 0.04 Screenshot

Advertisements

ObjectivePerl 0.04 Keywords

Bookmark ObjectivePerl 0.04

Hyperlink code:
Link for forum:

ObjectivePerl 0.04 Copyright

WareSeeker periodically updates pricing and software information of ObjectivePerl 0.04 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of ObjectivePerl 0.04 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Bundle::Perl6 is a Perl bundle to install Perl6-related modules. Free Download
GTestRunner is a GTK+-based graphical frontend for running unit tests in Perl. Free Download
Perl6::Take is a Perl module to gather/take in Perl 5. Free Download
Hook::Scope is a Perl extension for adding hooks for exiting a scope. Free Download
Net::UPS is an implementation of UPS Online Tools API in Perl.v Free Download
HTTunnel is a universal HTTP tunnel using Apache, mod_perl and Perl. Free Download
Shell::Parser is a simple shell script parser. Free Download
Preppi is a simple graphical EPP client for Unix and Linux systems. Free Download