Main > Programming > Libraries >

PlusPlus 1.23

PlusPlus 1.23

Sponsored Links

PlusPlus 1.23 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.007 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 871
Date added: 2007-06-05
Publisher: D. E. Ovsyanko

PlusPlus 1.23 description

PlusPlus is a Delphi, VB, Java-like Perl preprocessor.

SYNOPSIS

### Case 1: plain script

use PlusPlus;

/*
This is
a long awaited
multiline
comment
*/

my $nested_hash = {outer => {inner => {a => 1, b => [19, 73], c => 3}}}

$nested_hash.outer.inner.a = 5; # colon in variable names
$nested_hash.outer.inner.b.[1] = 37;

$dbh.do ("DROP DATABASE TEST"); # colon in method names

with ($nested_hash.outer.inner) { # with operator
($.a, $.c) = (10, 30);
print " b[0] = $.b.[0]n";
};

function f ($x, $y = 0) { # named parameters and default values
return sin ($x) * cos ($y)
};

### Case 2: working with a database

use PlusPlus;
use DBI;

my $dbh = DBI -> connect ($dsn, $user, $password);

select name, phone from staff where salary between ? and ? -> my $sth;

forsql $sth (1000, 1500) {
print "< tr > < td > $.name < /td > < td > $.phone < /td > < /tr >"
}


### Case 3: procedural module

use PlusPlus;

module Child (Ancestor::Mother, Ancestor::Father);

sub foo { ... }; # not exported

export sub bar { ... }; # exported by default

export_ok sub baz { ... }; # can be imported explicitly


### Case 4: class

class Child (Ancestor::Mother, Ancestor::Father);

method init { # constructor callback
($.x, $.y) = (10, 3);
}

method diag { # some method
sqrt ($.x * $.x + $.y * $.y)
}

method do_it_to_me ($coderef) { # one more method
&$coderef ($self);
}

getter fldname { # getter method
print "They asked my value!n";
return $.fldname;
}

setter fldname ($value) { # setter method
$.setting_counter ++;
$.fldname = $value;
}

PlusPlus 1.23 Screenshot

Advertisements

PlusPlus 1.23 Keywords

Bookmark PlusPlus 1.23

Hyperlink code:
Link for forum:

PlusPlus 1.23 Copyright

WareSeeker periodically updates pricing and software information of PlusPlus 1.23 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 PlusPlus 1.23 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
mysqlISP allows you to manage ISP customers, resellers, and their resources. Free Download
blq is a Perl script that queries one or more lists, such as the MAPS RBL or MAPS DUL. Free Download
mysqlIPM is a Web-based IP address, router, firewall, and quality of service manager. Free Download
Exception::Class is a Perl module that allows you to declare real exception classes in Perl. Free Download
JSokoApplet is a Java applet for playing the game of Sokoban. Free Download
A powerful log analysis package for Apache Free Download
Molle is a cross-platform prover for modal logic. Free Download
ChouXiang is a free, abstract shooter. Free Download