diff --git a/Piece.pm b/Piece.pm index f5d87cd..e31da68 100644 --- a/Piece.pm +++ b/Piece.pm @@ -855,7 +855,7 @@ sub use_locale { #$Time::Piece::LOCALE is used by strptime and thus needs to be #in sync with what ever users change to via day_list() and mon_list(). -#Should probably deprecate this use of gloabl state, but oh well... +#Should probably deprecate this use of global state, but oh well... sub _default_locale { my $locales = {}; diff --git a/Piece.xs b/Piece.xs index 8164cdd..74d3ec5 100644 --- a/Piece.xs +++ b/Piece.xs @@ -85,7 +85,7 @@ extern "C" { * * Note that we don't free() the malloc()ed memory unless and until we call * malloc() again ourselves because the CRT putenv() function simply puts its - * pointer argument into the environ[] arrary (it doesn't make a copy of it) + * pointer argument into the environ[] array (it doesn't make a copy of it) * so this memory must otherwise be leaked. */