Author image Salvador Fandiño García

NAME

Tie::Array::Packed::Auto - auto uses Tie::Array::Packed or Tie::Array::PackedC

SYNOPSIS

  use Tie::Array::Packed::Auto;
  tie @foo, Tie::Array::Packed::Integer;
  tie @bar, Tie::Array::Packed::DoubleNative;

  $foo[12] = 13;
  $bar[1] = 4.56;

  pop @foo;
  @some = splice @bar, 1, 3, @foo;

DESCRIPTION

This package loads Tie::Array::Packed when it is available.

Otherwise, it loads Tie::Array::PackedC and sets up some wrappers in order to provide an API identical to that of Tie::Packed::Array.

COPYRIGHT AND LICENSE

Copyright (C) 2006, 2007 by Salvador Fandiño (sfandino@yahoo.com).

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.