Changes for version 2.3.0_03 - 2010-07-28

  • Incompatible Changes (only with this alpha series)
  • Signature->num_params is now Signature->num_positional_params because we'll add named params eventually and you generally only care about how many positional params a function takes. (Schwern)
  • Remove ngrep, nmap and nfor. Replaced by @array->foreach( def($x,$y) ) {} and @array->map( def($x) {} );
  • def has been removed. Consensus is emerging for func.
  • New Features
  • Added child() to make forking easier. [github 150] (Chad)
  • @array->foreach now takes a function with variable arguments and DWIM
  • $number->is_even and is_odd [github 143] (Eric A. Zarko)
  • Bug Fixes
  • Anonymous functions were getting a new signature each time they're declared even though its the same code reference. (Schwern)

Changes for version 2.3.0_02 - 2010-07-15

  • New Features
  • Signature introspection, via $code->signature, for subroutines defined with C<def>, C<func> and C<method>.
  • Documentation
  • Anonymous methods and functions (they always worked)

Changes for version 2.3.0_01 - 2010-07-12

  • New Features
  • ngrep and nmap are like grep and map but you can name the $_ variable. (Chad) [github 36]
  • nfor is like for but you can specify it to loop over any number of elements at a time. (Chad) [github 40]
  • "method" declares a method and does the "my $self = shift" for you. (Schwern) [github 19]
  • "def" and "func" provide basic subroutine signatures. (Schwern)
  • The error message upon not being able to load a module has been improved for human readability. (Chad) [github 99]
  • Test Fixes
  • Clean up dangling temp files. (Avar) [github 139]

Documentation

Frequently Asked Questions about perl5i

Modules

Fix as much of Perl 5 as possible in one pragma
The perl5i meta object
Representing what parameters a subroutine accepts
Use the latest version of perl5i

Provides

in lib/perl5i/0.pm
in lib/perl5i/1.pm
in lib/perl5i/1/ARRAY.pm
in lib/perl5i/1/CODE.pm
in lib/perl5i/1/DateTime.pm
in lib/perl5i/1/HASH.pm
in lib/perl5i/1/Meta.pm
in lib/perl5i/1/Meta/Class.pm
in lib/perl5i/1/Meta/Instance.pm
in lib/perl5i/1/SCALAR.pm
in lib/perl5i/1/UNIVERSAL.pm
in lib/perl5i/1/autobox.pm
in lib/perl5i/2.pm
in lib/perl5i/2/ARRAY.pm
in lib/perl5i/2/CODE.pm
in lib/perl5i/2/DateTime.pm
in lib/perl5i/2/DateTime.pm
in lib/perl5i/2/DateTime.pm
in lib/perl5i/2/DateTime.pm
in lib/perl5i/2/HASH.pm
in lib/perl5i/2/Meta.pm
in lib/perl5i/2/Meta/Class.pm
in lib/perl5i/2/Meta/Instance.pm
in lib/perl5i/2/RequireMessage.pm
in lib/perl5i/2/SCALAR.pm
in lib/perl5i/2/Signature.pm
in lib/perl5i/2/Signature/Function/None.pm
in lib/perl5i/2/Signature/Method/None.pm
in lib/perl5i/2/Signature/None.pm
in lib/perl5i/2/Signature/Real.pm
in lib/perl5i/2/Signatures.pm
in lib/perl5i/2/UNIVERSAL.pm
in lib/perl5i/2/autobox.pm
in lib/perl5i/2/equal.pm
in lib/perl5i/cmd.pm