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
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
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
>
> 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
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
&
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
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
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
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
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
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.
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
>>
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);
>&
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
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
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
16 matches
Mail list logo