Array-Window

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

    first of the two options above, you would end up with the following.

      # EITHER
      Array::Window->new( source => \@array, 
            window_start => 0, window_length => 10 );
  
      # OR
      Array::Window->new( source => \@array,
            window_start => 0, window_end => 9 );

    Although the second option looks a little silly, bear in mind that
    Array::Window will not assume that just because you WANT a window from 0
    - 9, it's actually going to fit the size of the array.

    Please note that the object does NOT make a copy or otherwise retain
    information about the array, so if you change the array later, you will
    need to create a new object.

  source_start
    Returns the index of the first source value, which will usually be 0.

lib/Array/Window.pm  view on Meta::CPAN

of the two options above, you would end up with the following.

  # EITHER
  Array::Window->new( source => \@array, 
  	window_start => 0, window_length => 10 );
  
  # OR
  Array::Window->new( source => \@array,
  	window_start => 0, window_end => 9 );

Although the second option looks a little silly, bear in mind that Array::Window
will not assume that just because you WANT a window from 0 - 9, it's actually 
going to fit the size of the array.

Please note that the object does NOT make a copy or otherwise retain information
about the array, so if you change the array later, you will need to create a new
object.

=head2 source_start

Returns the index of the first source value, which will usually be 0.



( run in 0.411 second using v1.01-cache-2.11-cpan-64827b87656 )