Steffen Winkler perl-ws@steffen-winkler.de
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 003e4a86a534576eee2cb26507cba038ef213048 Mon Sep 17 00:00:00 2001 | |
From: =?UTF-8?q?Lars=20D=C9=AA=E1=B4=87=E1=B4=84=E1=B4=8B=E1=B4=8F=E1=B4=A1=20?= | |
=?UTF-8?q?=E8=BF=AA=E6=8B=89=E6=96=AF?= <daxim@cpan.org> | |
Date: Thu, 24 Nov 2011 18:30:38 +0100 | |
Subject: [PATCH] Array->rotate <https://github.com/schwern/perl5i/issues/146> | |
The greater share of the work on this feature has been done by | |
student Vladimir during the Google Code-in 2011. | |
--- | |
lib/perl5i.pm | 14 ++++++++++ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
use perl5i::latest; | |
use lib 't/lib'; | |
use Test::More; | |
use Test::perl5i; | |
is_deeply( | |
scalar [ 'foo', 'bar', 'baz' ]->rotate, | |
[ 'fbb', 'oaa', 'orz' ], |
NewerOlder