Re: algorithm permute

2008-11-18 Thread Sharan Basappa
the terminals. perldoc -l Algorithm::Permute yields No documentation found for "Algorithm::Permute". Anyway, now I know how to make it work consistently. My initial hunch was that something to do with a variable that was set on the shell prompt and hence got lost for some reason later. R

Re: algorithm permute

2008-11-17 Thread Jay Savage
led the module as one user, but then tried to run the script as another. since you're installing the modules to local directories as an unprivileged user rather than the to global perl /lib directories as a superuser, you're having path and permissions issues. It also appears that you ha

Re: algorithm permute

2008-11-17 Thread Tom Phoenix
On Mon, Nov 17, 2008 at 7:13 AM, Sharan Basappa <[EMAIL PROTECTED]> wrote: > On the 3 rd terminal, it works fine. So, on the third terminal, you can ask it which module it is finding that the others aren't: perldoc -l Algorithm::Permute > I ran "env" and redirec

Re: algorithm permute

2008-11-17 Thread Sharan Basappa
> > You haven't installed anything. You've downloaded and untarred/ > gunzipped the source. You still have to run > perl Makefile.PL > make > make test > make install > > That final command will copy the installed module to the real library > directory. THAT is the path that you need for use lib

Re: algorithm permute

2008-11-13 Thread Paul Lalli
On Nov 13, 10:26 am, [EMAIL PROTECTED] (Sharan Basappa) wrote: > Just an update. I have installed to a new location and can see the > following files > > /u/basappas/local/perl/Algorithm-Permute-0.06/ > Algorithm  Changes   Makefile.PL  Perm2.pl    Permute.o   pm_to_blib  typemap &

Re: algorithm permute

2008-11-13 Thread Dermot
2008/11/13 Sharan Basappa <[EMAIL PROTECTED]>: > Just an update. I have installed to a new location and can see the > following files > > /u/basappas/local/perl/Algorithm-Permute-0.06/ > Algorithm Changes Makefile.PL Perm2.plPermute.o pm_to_blib typemap > bench

Re: algorithm permute

2008-11-13 Thread Sharan Basappa
Just an update. I have installed to a new location and can see the following files /u/basappas/local/perl/Algorithm-Permute-0.06/ Algorithm Changes Makefile.PL Perm2.plPermute.o pm_to_blib typemap bench lib MANIFEST Permute.bs Permute.pm share blib Makefile

Re: algorithm permute

2008-11-11 Thread Chas. Owens
On Mon, Nov 10, 2008 at 12:36, Paul Lalli <[EMAIL PROTECTED]> wrote: snip > "elsewhere" is the problem. Algorithm::Permute is not a built-in > module. You have to install it manually via the CPAN on every machine > you want to use it. snip Another option (if instal

Re: algorithm permute

2008-11-11 Thread Sharan Basappa
Hi Paul, Regards On Mon, Nov 10, 2008 at 11:06 PM, Paul Lalli <[EMAIL PROTECTED]> wrote: > On Nov 10, 9:15 am, [EMAIL PROTECTED] (Sharan Basappa) wrote: >> Hi, >> >> After working fine with Algorithm::Permute module for weeks now, >> suddenly I seem to be get

Re: algorithm permute

2008-11-10 Thread Paul Lalli
On Nov 10, 9:15 am, [EMAIL PROTECTED] (Sharan Basappa) wrote: > Hi, > > After working fine with Algorithm::Permute module for weeks now, > suddenly I seem to be getting errors. > > The particular error is: > $ perl StTrAuto.pl > Can't locate Algorithm/Permute.pm in @IN

algorithm permute

2008-11-10 Thread Sharan Basappa
Hi, After working fine with Algorithm::Permute module for weeks now, suddenly I seem to be getting errors. The particular error is: $ perl StTrAuto.pl Can't locate Algorithm/Permute.pm in @INC (@INC contains: /u/sharan/local/perl/perm_install/lib/perl5/site_perl .) at StTrAuto.pl line 4.

Re: using algorithm-permute

2008-10-22 Thread Sharan Basappa
On Wed, Oct 22, 2008 at 4:32 AM, Rob Dixon <[EMAIL PROTECTED]> wrote: > Sharanbr wrote: >> On Oct 19, 6:38 am, [EMAIL PROTECTED] (Sisyphus) wrote: >>> On Oct 17, 3:04 am, [EMAIL PROTECTED] (Sharan Basappa) wrote: >>>> >>>> #!/usr/bin/perl >>

Re: using algorithm-permute

2008-10-21 Thread Rob Dixon
Sharanbr wrote: > On Oct 19, 6:38 am, [EMAIL PROTECTED] (Sisyphus) wrote: >> On Oct 17, 3:04 am, [EMAIL PROTECTED] (Sharan Basappa) wrote: >>> >>> #!/usr/bin/perl >>> use warnings; >>> use Algorithm::Permute; >>> my @array = (1..4); >&

Re: using algorithm-permute

2008-10-21 Thread Sharanbr
On Oct 19, 6:38 am, [EMAIL PROTECTED] (Sisyphus) wrote: > On Oct 17, 3:04 am, [EMAIL PROTECTED] (Sharan Basappa) wrote: > . > . > > > > > #!/usr/bin/perl > > use warnings; > > use Algorithm::Permute; > > my @array = (1..4); > > Algorithm::Permu

Re: using algorithm-permute

2008-10-19 Thread sisyphus
On Oct 17, 3:04 am, [EMAIL PROTECTED] (Sharan Basappa) wrote: . . > > #!/usr/bin/perl > use warnings; > use Algorithm::Permute; > my @array = (1..4); > Algorithm::Permute::permute { print "@array\n" } @array; use warnings; use strict; use Algorithm::Permute; my

using algorithm-permute

2008-10-16 Thread Sharan Basappa
permutations into another array. Can someone tell me how the code given below can be modified. PS: I am not well versed with perl classes Regards, #!/usr/bin/perl use warnings; use Algorithm::Permute; my @array = (1..4); Algorithm::Permute::permute { print "@array\n" } @array; -- To unsu