Perl Forum for Beginners

FW: can only install cpan modules as sudo

Dec 24, 2011 12:19 am
Fudmer rieley

---814414838-151221274-1324685983=:26988
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable



--- On Fri, 12/23/11, Phil Dobbin <phildobbin@gmail.com> wrote:

From: Phil Dobbin <phildobbin@gmail.com>
Subject: FW: can only install cpan modules as sudo
To: "perl" <beginners@perl.org>
Cc: "fudmer rieley" <southofmexico@yahoo.com>
Date: Friday, December 23, 2011, 7:13 PM



in response to the question of writing a perl to python converter i

Maybe a better project would be to work toward the development of a standar=
d
xsl style sheet able to parse source code or binary of each software
language into a tree such that xslt could parse the intermediate tree and
transform its structure into a multitude of other language source codes or
binaries. I do not know if it would be easier to work at the binary level
than the source code level. But I believe much of the technology to
transform source code and binaries from one language set to another languag=
e
set already exist.=20

xsl, xslt tools I believe have a perfect fit in perl.

XSL [code lang1], [ XSLT :: XSLT ], XSL [code lang2[

Parse the code, build the tree"::parse the tree, output the new code.



Merely writing xsl parsing and tree layouts for each language [source or
complied binary] and conforming the xsl style sheet to the xslt transform
standards, the machine genetics and super protected kernels that talk to
them, might resolve to trivial. Moreover there are lots of persons with
transforming experience around who might help.



Is it not possible to develop the transforms between languages in xslt styl=
e
sheet fashion? Would such a transform impose on the copyright or patent
rights of one or more languages or language parts?

--- On Wed, 12/21/11, Phil Dobbin <phildobbin@gmail.com> wrote:

From: Phil Dobbin <phildobbin@gmail.com>
Subject: Re: can only install cpan modules as sudo
To: "perl" <beginners@perl.org>
Date: Wednesday, December 21, 2011, 1:26 PM

On 21/12/11 17:59, "Ryan.Barracuda" <ryan.barracuda@elboardo.com> wrote:

> Thanks! Would you recommend I uninstall ActiveState and install Perlbrew
> first?

Depends whereabouts it is on your machine. If ActiveState resides in ~/ the=
n
yes, I would. If not, it's entirely optional & you can just go ahead &
install perlbrew as per the defaults.

This blog should help you get started:

<http://blog.fox.geek.nz/2010/09/installing-multiple-perls-with.html>

Cheers,

=A0 =A0 Phil...

--=20
Nothing to see here... move along, move along


--=20
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/




------ End of Forwarded Message


--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/



---814414838-151221274-1324685983=:26988--

Dec 24, 2011 12:13 am
Phil Dobbin
FW: can only install cpan modules as sudo

May I please re-iterate again: please send replies to this thread to the
list, not me.

All it takes is a quick look at to whom you are addressing your email to &
then the list will receive it not me alone.

Thank You.

Phil.

------ Forwarded Message
From: fudmer rieley <southofmexico@yahoo.com>
Date: Fri, 23 Dec 2011 15:56:33 -0800 (PST)
To: Phil Dobbin <phildobbin@gmail.com>
Subject: Re: can only install cpan modules as sudo

in response to the question of writing a perl to python converter i
forwarded to the list thisand no one has responded nor has it appeared on
the list..=A0is something wrong with the list?
Maybe a better project would be to work toward the development of a standar=
d
xsl style sheet able to parse source code or binary of each software
language into a tree such that xslt could parse the intermediate tree and
transform its structure into a multitude of other language source codes or
binaries. I do not know if it would be easier to work at the binary level
than the source code level. But I believe much of the technology to
transform source code and binaries from one language set to another languag=
e
set already exist.=20

xsl, xslt tools I believe have a perfect fit in perl.

XSL [code lang1], [ XSLT :: XSLT ], XSL [code lang2[

Parse the code, build the tree"::parse the tree, output the new code.



Merely writing xsl parsing and tree layouts for each language [source or
complied binary] and conforming the xsl style sheet to the xslt transform
standards, the machine genetics and super protected kernels that talk to
them, might resolve to trivial. Moreover there are lots of persons with
transforming experience around who might help.



Is it not possible to develop the transforms between languages in xslt styl=
e
sheet fashion? Would such a transform impose on the copyright or patent
rights of one or more languages or language parts?

--- On Wed, 12/21/11, Phil Dobbin <phildobbin@gmail.com> wrote:

From: Phil Dobbin <phildobbin@gmail.com>
Subject: Re: can only install cpan modules as sudo
To: "perl" <beginners@perl.org>
Date: Wednesday, December 21, 2011, 1:26 PM

On 21/12/11 17:59, "Ryan.Barracuda" <ryan.barracuda@elboardo.com> wrote:

> Thanks! Would you recommend I uninstall ActiveState and install Perlbrew
> first?

Depends whereabouts it is on your machine. If ActiveState resides in ~/ the=
n
yes, I would. If not, it's entirely optional & you can just go ahead &
install perlbrew as per the defaults.

This blog should help you get started:

<http://blog.fox.geek.nz/2010/09/installing-multiple-perls-with.html>

Cheers,

=A0 =A0 Phil...

--=20
Nothing to see here... move along, move along


--=20
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/




------ End of Forwarded Message





Previous Thread: Perl to python converter
Next Thread: Help in finding group of text

Related Forum Topics
Can only install cpan modules as sudo
--B_3407311651_792059
Content-type: text/plain;
charset="US-ASCII"
Content-transfer-encoding: 7bit

Hi all,

I can only install cpan modules as sudo. I installed ActiveState Perl
v.5.14.2 and cpanm without a problem.

$ cpanm Net::SMTP
-bash: /usr/local/bin/cpanm: /usr/bin/perl: bad...
Install modules from CPAN
--e89a8f23524166ec9b04bb41a539
Content-Type: text/plain; charset=ISO-8859-1

Hi there,
i have perl 5.6 on my laptop
am i want to download some modules from CPAN but all attempts i have made
have failed giving me such errors,
some help.

C:\>perl -MCPAN -e shell
cpan shell -- CPAN...
CPAN cannot install modules locally
--------------030906090903000905040702
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi

I am trying to install MediaWiki::Bot module locally on my server (I am
not the admin).
I am trying to use cpan command line interface for this.

I...
Re: need to include and install CPAN modules as part of applicationstack
--_----------=_129660073129400
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"
Date: Tue, 1 Feb 2011 17:52:11 -0500
X-Mailer: MessagingEngine.com Webmail Interface

With all due respect Uri, you're not being particularly friendly.
This is a...
Need to include and install CPAN modules as part of application stack
------_=_NextPart_001_01CBBE65.E08A1034
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hello all,

=20

=20

I need to include CPAN modules as part of our custom "application
stack".

=20

Currently we have a custom "application stack"...
Problems with install modules with CPAN and from source code when I update my PERL
------=_Part_91860_3534319.1231880100387
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi everybody

thanks for read....

I have a problem with CPAN, the problem is becouse I change my PERL
version...

Well First create in my...
CPAN won't install YAML and others
Greetings;

YAML is not installed on my Lenny system and when I try to
install it (with perl -MCPAN -e shell) I get the following
errors after the source has been unpacked. Any ideas?

Thanks for any help!
Dennis

BTW :
> cardinal:~# ls -l...
Trying to install a cpan module
--001636c5baf9aa293804961729cc
Content-Type: text/plain; charset=ISO-8859-1

Hi all,

I'm new to programming, and only recently did I start playing around with
command prompts, etc, so it's probably no surpise that I'm having some
difficulty trying to install a module using cpan. The...
How to install modules
------=_NextPart_000_0157_01C8C303.BA8D74D0
Content-Type: text/plain;
charset="gb2312"
Content-Transfer-Encoding: quoted-printable

Hi,
I tried to install the module plot.pm, by following the undermentioned =
method http://www.base64.co.uk/installing-perl-modules/ but I failed. =
What...
Is there a way to un-install modules?
I know this is going to sound odd, but I've installed some modules using
the CPAN module and I now want to uninstall them or put them into a
state where they are no longer detected. Is there a way to do this?

TIA

Bruce