Perl6::Contexts 0.4
Sponsored Links
Perl6::Contexts 0.4 Ranking & Summary
File size:
0.017 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
801
Date added:
2007-08-14
Publisher:
SWALTERS
Perl6::Contexts 0.4 description
Perl6::Contexts - array and hash variables turn into references to themselves when used in non-numeric scalar context or as function arguments.
SYNOPSIS
my @foo = ( 1 .. 20 );
my $foo = @foo; # same as: my $foo = @foo;
my $foo = 0 + @foo; # unchanged - length of @foo
$obj->some_method(10, 20, @foo); # same as: $obj->some_method(10, 20, @foo);
some_function(10, 20, @foo); # same as: some_function(10, 20, @foo);
Perl6::Contexts makes Perl 5 behave more like Perl 6 with regard to the array and hash variables as used as arguments to operators, method calls, and functions.
This module doesnt add new syntax -- it merely changes the meaning of existing syntax. Using this module to make Perl 5 more like Perl 6 wont go very far towards writing Perl 5 that will run under Perl 6 but it will help you get used to some of the changes.
To run legacy Perl 5 along side Perl 6, check out PONIE or Inline::Pugs.
SYNOPSIS
my @foo = ( 1 .. 20 );
my $foo = @foo; # same as: my $foo = @foo;
my $foo = 0 + @foo; # unchanged - length of @foo
$obj->some_method(10, 20, @foo); # same as: $obj->some_method(10, 20, @foo);
some_function(10, 20, @foo); # same as: some_function(10, 20, @foo);
Perl6::Contexts makes Perl 5 behave more like Perl 6 with regard to the array and hash variables as used as arguments to operators, method calls, and functions.
This module doesnt add new syntax -- it merely changes the meaning of existing syntax. Using this module to make Perl 5 more like Perl 6 wont go very far towards writing Perl 5 that will run under Perl 6 but it will help you get used to some of the changes.
To run legacy Perl 5 along side Perl 6, check out PONIE or Inline::Pugs.
Perl6::Contexts 0.4 Screenshot
Perl6::Contexts 0.4 Keywords
Perl 5
Contexts 0.4
Hash Variables
Turn Into
Perl 6
Foo
Perl
used
variables
array
hash
Perl6::Contexts
Perl6Contexts
Perl6::Contexts 0.4
Libraries
Programming
Bookmark Perl6::Contexts 0.4
Perl6::Contexts 0.4 Copyright
WareSeeker periodically updates pricing and software information of Perl6::Contexts 0.4 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 Perl6::Contexts 0.4 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
Perl6::Take is a Perl module to gather/take in Perl 5. Free Download
Perl6::Parameters is a module with Perl 6-style prototypes with named parameters. Free Download
Perl6::Export::Attrs - the Perl 6 is export(...) trait as a Perl 5 attribute. Free Download
Doxygen Filter is an input filter for Doxygen enabling support for Perl code documentation. Free Download
Perl6::Placeholders is a Perl 6 implicitly declared parameters for Perl 5. Free Download
Perl6::Builtins is a Perl module that provides erl 5 versions of the new Perl 6 builtins. Free Download
Text::Scrub is a Perl module used to wild card out text used for comparison. Free Download
MyCMS perl module provides the MN::CMS Perl module used by the MyCMS. Free Download
Latest Software
Popular Software
Favourite Software