Skip Menu |

This queue is for tickets about the Tie-Array-PackedC CPAN distribution.

Report information
The Basics
Id: 24419
Status: new
Priority: 0/
Queue: Tie-Array-PackedC

People
Owner: Nobody in particular
Requestors: ZACKSE [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: Patch for typos in documentation
Attached is a patch for some minor spelling errors / typos in the documentation. Hope this helps. Thanks for your work on this module! -Evan
Subject: tie-array-packedc.patch
diff -Naur Tie-Array-PackedC-0.03.old/Changes Tie-Array-PackedC-0.03/Changes --- Tie-Array-PackedC-0.03.old/Changes 2006-03-14 05:05:06.000000000 -0500 +++ Tie-Array-PackedC-0.03/Changes 2007-01-17 11:59:17.775873329 -0500 @@ -13,7 +13,7 @@ of the structure down to used elements only. Any preextension of the underlying string is thrown away. This can be useful for recovering unused memory when you know that there will be no more store operations -occuring. +occurring. diff -Naur Tie-Array-PackedC-0.03.old/PackedC.pm Tie-Array-PackedC-0.03/PackedC.pm --- Tie-Array-PackedC-0.03.old/PackedC.pm 2006-03-14 05:09:37.000000000 -0500 +++ Tie-Array-PackedC-0.03/PackedC.pm 2007-01-17 12:00:01.318566580 -0500 @@ -201,8 +201,8 @@ =head1 DESCRIPTION Provides a perl array interface into a string containing a C style array. In -other words the string is equivelent to the string that would be returned -from the equivelent pack command (defaulting to pack type "l!") using a normal +other words the string is equivalent to the string that would be returned +from the equivalent pack command (defaulting to pack type "l!") using a normal array of the same values. Eg: @@ -229,14 +229,14 @@ be extended according to the preallocation below.) Any values @initialize are treated as though an immediate - @array[0..$#initilize]=@initialize; + @array[0..$#initialize]=@initialize; -occured. This means that +occurred. This means that my ($s,@a)=pack "l!*",1..5; tie @a,'Tie::Array::PackedC',$s,reverse 1..4; -wil result in "@a" being "4 3 2 1 5". +will result in "@a" being "4 3 2 1 5". If no $string is provided then an anonymous string is used to bind to. This string can be obtained by saying @@ -249,7 +249,7 @@ ${tied(@a)} and the string method is that the former will return the string by copy and it -will be exactly the size of the array, the latter could be signifigantly longer +will be exactly the size of the array, the latter could be significantly longer due to preallocation. There is also a utility method to dump the string/array in hex that is invoked @@ -307,7 +307,7 @@ use Tie::Array::PackedC; -is almost exactly equivelent to +is almost exactly equivalent to use Tie::Array::PackedC NativeLong => 'l!'; @@ -320,7 +320,7 @@ =item string() -Returns the string represnting the array. This is not necessarily the same as the +Returns the string representing the array. This is not necessarily the same as the string passed into the array, which may be longer. =item hex_dump() diff -Naur Tie-Array-PackedC-0.03.old/README Tie-Array-PackedC-0.03/README --- Tie-Array-PackedC-0.03.old/README 2006-03-14 05:10:14.000000000 -0500 +++ Tie-Array-PackedC-0.03/README 2007-01-17 12:00:05.405974560 -0500 @@ -13,8 +13,8 @@ INFO Provides a perl array interface into a string containing a C style array. In -other words the string is equivelent to the string that would be returned from -the equivelent pack command (defaulting to pack type "l!") using a normal array +other words the string is equivalent to the string that would be returned from +the equivalent pack command (defaulting to pack type "l!") using a normal array of the same values. DEPENDENCIES