Results about Algorithm::Permute Installation:
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\DR SUPRIYO>cpan Algorithm::Permute
Set up gcc environment - 3.4.5 (mingw-vista special r3)
Going to read 'C:\Perl\cpan\Metadata'
Database was generated on Tue, 26 Feb 2013 12:07:54 GMT
Algorithm::Permute is up to date (0.12).
####
#!/usr/bin/perl
use warnings;
use strict;
use Algorithm::Permute;
my @a=qw/ A B C /;
# You can create r of n objects permutation generator, where r <= n
my $p=new Algorithm::Permute(@a,2);
while (@res = $p->next) {
print join(", ", @res), "\n";
}
exit;
# Script ends here
####
RESULTS of try5.pl in cmd:
C:\Users\DR SUPRIYO>cd desktop
C:\Users\DR SUPRIYO\Desktop>try5.pl
Can't locate loadable object for module Algorithm::Permute in @INC (@INC contain
s: C:/Perl/site/lib C:/Perl/lib .) at C:\Users\DR SUPRIYO\Desktop\try5.pl line 4
Compilation failed in require at C:\Users\DR SUPRIYO\Desktop\try5.pl line 4.
BEGIN failed--compilation aborted at C:\Users\DR SUPRIYO\Desktop\try5.pl line 4.
C:\Users\DR SUPRIYO\Desktop>