Acme-Kiyoshi-Array
view release on metacpan or search on metacpan
lib/Acme/Kiyoshi/Array.pm view on Meta::CPAN
package Acme::Kiyoshi::Array;
use utf8;
use strict;
use warnings;
our $VERSION = "0.02";
BEGIN {
*CORE::GLOBAL::push = sub(\@@) {
my ($array, $value) = @_;
my $res = CORE::push(@$array, $value);
if (scalar(@$array) >= 5 && join('', @$array[-5..-1]) =~ /ãºã³ãºã³ãºã³ãºã³ãã³/) {
$res = CORE::push(@$array, "ãã»ã¨ã»ã·ï¼");
}
return $res;
};
}
1;
__END__
=encoding utf-8
=head1 NAME
Acme::Kiyoshi::Array - It's new ZUNDOKO Kiyoshi Array
=head1 SYNOPSIS
use Acme::Kiyoshi::Array;
my @ary = ();
push @ary, "ãºã³";
push @ary, "ãºã³";
push @ary, "ãºã³";
push @ary, "ãºã³";
push @ary, "ãã³";
print @ary;
=head1 DESCRIPTION
Acme::Kiyoshi::Array is ...
=head1 LICENSE
Copyright (C) Masaaki Saito.
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.
=head1 AUTHOR
Masaaki Saito E<lt>masakyst.public@gmail.comE<gt>
=cut
( run in 0.520 second using v1.01-cache-2.11-cpan-39bf76dae61 )