view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

    - Make crypt() test optional for platforms without it (thanks Hugmeir)

    - new version just to creage a new .tar.gz.  a './' owned by root
      apparently got added to the tar at some point after 'make dist'.

    - remove 'use feature' from t/synopsis.t.  this lets older perls perl.

1.25 Wed Jun 12 14:45:54 CDT 2013
    - remove 'use feature' from t/synopsis.t.  that was cut and paste from the
      docs but wasn't actually necessary there.

1.24 Sun Jul 15 11:05:11 PDT 2012
    - MANIFEST no longer includes previous distribution tar balls (Jacinta

1.23 Thu Jul 12 18:05:46 PDT 2012
    - Minor corrections (Jacinta Richardson)

lib/autobox/  view on Meta::CPAN

store than the data held strictly requires.  C<Int>, C<Num>, C<Bit>,
C<Str>, and other types with an initial capital letter, are objects.  These
may be subclassed (inherited from) and accept traits, among other things.
These objects are provided by the system for the sole purpose of
representing primitive types as objects, though this has many ancillary
benefits such as making C<is> and C<has> work.  Perl provides C<Int> to
encapsulate an C<int>, C<Num> to encapsulate a C<num>, C<Bit> to
encapsulate a C<bit>, and so on.  As Perl's implementations of hashes and
dynamically expandable arrays store any type, not just objects, Perl
programmers almost never are required to box primitive types in objects.
Perl's power makes this feature less essential than it is in other

I<autobox>ing makes primitive objects and they're boxed versions
equivalent.  An C<int> may be used as an C<Int> with no constructor call,
no passing, nothing.  This applies to constants too, not just variables.
This is a more Perl 6 way of doing things.

  # Perl 6 - autoboxing associates classes with primitives types:

  print 4.sqrt, "\n";

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 0.999 second using v1.00-cache-1.14-grep-28634ff-cpan-d9e903817cc )