Re: [OT cpan] How to paginate cpan output when inside cpan shell

2009-10-21 Thread Octavian Râsnita
From: "Harry Putnam" I'm sorry to bring this here.. I suppose there may be a more appropriate group... I don't know it if there it. When inside the cpan shell: How can I force the output of cpan cmds to run thru some kind of pager so that I can see page by page what the c

[OT cpan] How to paginate cpan output when inside cpan shell

2009-10-21 Thread Harry Putnam
I'm sorry to bring this here.. I suppose there may be a more appropriate group... I don't know it if there it. When inside the cpan shell: How can I force the output of cpan cmds to run thru some kind of pager so that I can see page by page what the content is? -- To unsubscri

Re: cpan shell wrong

2008-10-16 Thread Sandy lone
On Wed, Oct 15, 2008 at 5:17 AM, <[EMAIL PROTECTED]> wrote: > I had a similar problem. Check out the contents of your urllist. This > is what mine looked like: > > cpan[1]> o conf urllist > urllist > 0 [] > 1 [ftp://carroll.cac.psu.edu/pub/CPAN/] > 2 [ftp://cpan-du

Re: cpan shell wrong

2008-10-14 Thread james . conerly
I had a similar problem. Check out the contents of your urllist. This is what mine looked like: cpan[1]> o conf urllist urllist 0 [] 1 [ftp://carroll.cac.psu.edu/pub/CPAN/] 2 [ftp://cpan-du.viaverio.com/pub/CPAN/] 3 [ftp://cpan-sj.viaverio.com/pub/CP

cpan shell wrong

2008-10-10 Thread Sandy lone
My CPAN shell seems wrong. When I tried to install modules, it got failed. The info is below. What wrong with this? Thanks. cpan> install Mail::Send CPAN: Storable loaded ok Going to read /root/.cpan/Metadata Database was generated on Wed, 08 Oct 2008 22:26:52 GMT Running install for mod

Re: Module installation through CPAN shell problem

2008-08-21 Thread yitzle
On Thu, Aug 21, 2008 at 1:08 PM, Periklis <[EMAIL PROTECTED]> wrote: > Hi all, > > I have the following problem: > Trying to install a module through the CPAN utility, I got an error message > of not having the right to acces some directories and the installation failed. > > My question is how sho

Module installation through CPAN shell problem

2008-08-21 Thread Periklis
Hi all, I have the following problem: Trying to install a module through the CPAN utility, I got an error message of not having the right to acces some directories and the installation failed. My question is how should I proceed? -- should I rerun CPAN and give it administrative rights? e.g. sud

Re: install non-current version module from cpan shell

2007-12-13 Thread Tom Phoenix
On 12/12/07, jeff pang <[EMAIL PROTECTED]> wrote: > I want to install Apache::Scoreboard v0.15 (b/c I'm using mp1) from > cpan shell. But the current version is 2.08. How can I install the > specified version of a module from cpan shell? Does anything good happen if you give

install non-current version module from cpan shell

2007-12-12 Thread jeff pang
I want to install Apache::Scoreboard v0.15 (b/c I'm using mp1) from cpan shell. But the current version is 2.08. How can I install the specified version of a module from cpan shell? thanks. Best Regards, Jeff (joy)

RE: CPAN shell (LWP, Net::FTP) won't authenticate properly

2007-06-26 Thread RICHARD FERNANDEZ
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > I'm using a URL of the form ftp://MyCpanMirror/u02/CPAN/ > > Is your mirror server running Apache or some http server? I > have an internal mirror that I connect to via http and it > works like a charm. >

Re: CPAN shell (LWP, Net::FTP) won't authenticate properly

2007-06-25 Thread Mumia W.
On 06/25/2007 12:40 PM, RICHARD FERNANDEZ wrote: [...] I'm not sure where else to go with this. It looks like I can eventually get what I need installed, but not without a long bumpy ride first. [...] A nice feature for someone to add to CPAN.pm would be the option to set the preferred ftp opt

Re: CPAN shell (LWP, Net::FTP) won't authenticate properly

2007-06-25 Thread usenet
On Jun 25, 8:32 am, [EMAIL PROTECTED] (Richard Fernandez) wrote: > I'm trying to use the CPAN shell to install some modules from our > internal CPAN mirror. > I'm using a URL of the form ftp://MyCpanMirror/u02/CPAN/ Is your mirror server running Apache or some http server?

RE: CPAN shell (LWP, Net::FTP) won't authenticate properly

2007-06-25 Thread RICHARD FERNANDEZ
Hi Tom, Thanks for the response. > It's undocumented, but maybe try this: > > BEGIN { $CPAN::DEBUG = 512; } # FTP? > Not sure where to plug in this BEGIN {}... > perl -MNet::Netrc -lwe 'print join " ", > Net::Netrc->lookup("MyCpanMirror")->lpa' > It looks like Net::Netrc is working:

Re: CPAN shell (LWP, Net::FTP) won't authenticate properly

2007-06-25 Thread Tom Phoenix
On 6/25/07, RICHARD FERNANDEZ <[EMAIL PROTECTED]> wrote: I'm trying to use the CPAN shell to install some modules from our internal CPAN mirror. I'm using a URL of the form ftp://MyCpanMirror/u02/CPAN/ , and I have a valid .netrc configured with a user and password for the mirro

RE: CPAN shell (LWP, Net::FTP) won't authenticate properly

2007-06-25 Thread RICHARD FERNANDEZ
One other thing. I am able to successfully login to the mirror box using command line FTP and netrc for authentication. richf -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

CPAN shell (LWP, Net::FTP) won't authenticate properly

2007-06-25 Thread RICHARD FERNANDEZ
Hi folks, I'm trying to use the CPAN shell to install some modules from our internal CPAN mirror. I'm using a URL of the form ftp://MyCpanMirror/u02/CPAN/ , and I have a valid .netrc configured with a user and password for the mirror box. At first I was able to query/install modules e

Re: CPAN::Shell install into customer dir

2006-06-26 Thread JupiterHost.Net
ve a plugin installer that installs certain Perl modules: This is what it uses, CPAN::Shell->expand('Module', $module_name)->install(); which works fine as long as root is running it. What I'd like to do is install the modules as an unprivileged user into /home/$user/perl

Re: CPAN::Shell install into customer dir

2006-06-24 Thread Anthony Ettinger
Isn't it PERL_PREFIX? On 6/24/06, JupiterHost.Net <[EMAIL PROTECTED]> wrote: Howdy all :) I've a plugin installer that installs certain Perl modules: This is what it uses, CPAN::Shell->expand('Module', $module_name)->install(); which works fine as long

CPAN::Shell install into customer dir

2006-06-24 Thread JupiterHost.Net
Howdy all :) I've a plugin installer that installs certain Perl modules: This is what it uses, CPAN::Shell->expand('Module', $module_name)->install(); which works fine as long as root is running it. What I'd like to do is install the modules as an unprivileged u

CPAN Shell

2004-12-28 Thread Robert
I did a "r" which gives me "reinstall recommendations". It does spit out a list of modules. Do I use "recompile" to batch update those? Robert -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: make CPAN::Shell->i; print to a filehandle

2003-06-30 Thread Mark G
- Original Message - From: "Harry Putnam" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 30, 2003 4:52 PM Subject: Re: make CPAN::Shell->i; print to a filehandle > [EMAIL PROTECTED] writes: > > > There is no point of arguing over th

Re: make CPAN::Shell->i; print to a filehandle

2003-06-30 Thread Harry Putnam
put of the child process to the file # handle specified. See the entry for the open() function in perlfunc, and # perlipc for plenty of info. my $pid = open(CPAN_I, "-|"); die "Cannot fork: $!" if not defined $pid; ## If the fork worked... run our data collector. if ($pid

Re: make CPAN::Shell->i; print to a filehandle

2003-06-30 Thread mgoland
Hi Harry, - Original Message - From: Harry Putnam <[EMAIL PROTECTED]> Date: Monday, June 30, 2003 1:34 am Subject: Re: make CPAN::Shell->i; print to a filehandle > Mark G <[EMAIL PROTECTED]> writes: > > > - Original Message - > > From: "Ha

Re: make CPAN::Shell->i; print to a filehandle

2003-06-29 Thread Harry Putnam
Mark G <[EMAIL PROTECTED]> writes: > - Original Message - > From: "Harry Putnam" <[EMAIL PROTECTED]> > To: "Mark G" <[EMAIL PROTECTED]> > Cc: "perl" <[EMAIL PROTECTED]> > Sent: Sunday, June 29, 2003 4:37 PM > Subje

Re: make CPAN::Shell->i; print to a filehandle

2003-06-29 Thread Mark G
- Original Message - From: "Harry Putnam" <[EMAIL PROTECTED]> To: "Mark G" <[EMAIL PROTECTED]> Cc: "perl" <[EMAIL PROTECTED]> Sent: Sunday, June 29, 2003 4:37 PM Subject: Re: make CPAN::Shell->i; print to a filehandle > Mark G <

Re: make CPAN::Shell->i; print to a filehandle

2003-06-29 Thread Harry Putnam
t; $pid = open2($wtr, $rdr, 'perl -e ', 'use CPAN;', 'CPAN::Shell->i;'); > > This is the equivalent of: > > % perl -e 'use CPAN;' 'CPAN::Shell->i;' > > Which doesn't work either (each bit of code needs a '-e').

Re: make CPAN::Shell->i; print to a filehandle

2003-06-29 Thread Steve Grazzini
On Sun, Jun 29, 2003 at 01:37:39PM -0700, Harry Putnam wrote: > > From perldoc it appears that something like this should work but it > doesn't either: > my ($wtr, $wdr, $err, @item, $pid); > > $pid = open2($wtr, $rdr, 'perl -e ', 'use CPAN;', &#x

Re: make CPAN::Shell->i; print to a filehandle

2003-06-29 Thread Harry Putnam
Mark G <[EMAIL PROTECTED]> writes: > Well I just tryed runing 'CPAN::Shell->i' from the shell, and it failed to > launch it. Can you run 'CPAN::Shell->i' from your systems default shell ?? > you can try using ppm instead. Ahh I guess it doesn't kn

Re: make CPAN::Shell->i; print to a filehandle

2003-06-29 Thread Mark G
- Original Message - From: "Harry Putnam" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, June 29, 2003 11:58 AM Subject: Re: make CPAN::Shell->i; print to a filehandle > Mark G <[EMAIL PROTECTED]> writes: > > > that would be >

Re: make CPAN::Shell->i; print to a filehandle

2003-06-29 Thread Harry Putnam
Mark G <[EMAIL PROTECTED]> writes: > that would be > > $pid = open2($wtr, $rdr, 'CPAN::Shell->i'); > > foreach( @module ){ > print $wtr "$_\n"; > print "shell output: $_\n" while <$rdr>; > } Still not able to get this

Re: make CPAN::Shell->i; print to a filehandle

2003-06-28 Thread Mark G
- Original Message - From: "Harry Putnam" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, June 28, 2003 7:18 PM Subject: Re: make CPAN::Shell->i; print to a filehandle > Mark G <[EMAIL PROTECTED]> writes: > > > >> $tar

Re: make CPAN::Shell->i; print to a filehandle

2003-06-28 Thread Harry Putnam
Mark G <[EMAIL PROTECTED]> writes: >> $target = "somefile"; >> if($opt_r){ >> open(FH,">$target") or die "Cannot open $target: $!"; >> print FH CPAN::Shell->i; > you can try IPC::Open2. That looks like the stuff.

Re: make CPAN::Shell->i; print to a filehandle

2003-06-28 Thread Mark G
- Original Message - From: "Harry Putnam" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, June 28, 2003 2:20 AM Subject: make CPAN::Shell->i; print to a filehandle > How do I go about making the output from > CPAN::Shell->i; go into a fi

make CPAN::Shell->i; print to a filehandle

2003-06-27 Thread Harry Putnam
How do I go about making the output from CPAN::Shell->i; go into a file handle Instead of STDOUT like it does in this formulation: $target = "somefile"; if($opt_r){ open(FH,">$target") or die "Cannot open $target: $!"; print FH CPAN::Shell->i;

cmd history with CPAN shell

2003-02-09 Thread Harry Putnam
Setup: OS Linux (Redhat 8) Perl: 5.8.0 CPAN: 1.65 $SHELL: Bash Anyone else here have trouble getting a command history to work with the perl CPAN shell (perl -MCPAN -e shell)? I have mu OS readline packages installed. rpm -qa |grep readline readline-4.3-3 readline-devel-4.3-3 As well as the