Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

no 'a' or 'an'

  • Loading branch information...
commit e9c083b9c43f7a6baed78d11f7fd38d8d78bd51c 1 parent d6b5f1a
@xsawyerx authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/Algorithm/Diff/Callback.pm
View
8 lib/Algorithm/Diff/Callback.pm
@@ -16,8 +16,8 @@ sub diff_hashes {
my @changed = ();
# check old and new hashes
- ref $old eq 'HASH' or croak 'Arg 1 must be a hashref';
- ref $new eq 'HASH' or croak 'Arg 2 must be a hashref';
+ ref $old eq 'HASH' or croak 'Arg 1 must be hashref';
+ ref $new eq 'HASH' or croak 'Arg 2 must be hashref';
# check callbacks
{
@@ -60,8 +60,8 @@ sub diff_arrays {
my ( $old, $new, $del_cb, $add_cb ) = @_;
# check old and new hashes
- ref $old eq 'ARRAY' or croak 'Arg 1 must be an arrayref';
- ref $new eq 'ARRAY' or croak 'Arg 2 must be an arrayref';
+ ref $old eq 'ARRAY' or croak 'Arg 1 must be arrayref';
+ ref $new eq 'ARRAY' or croak 'Arg 2 must be arrayref';
# check callbacks
{
Please sign in to comment.
Something went wrong with that request. Please try again.