Hello All, I am learning perl now and thus far I like it. Though I noticed that cpan is not as pretty as I thought it was..

I noticed that cpan tries to compile a package doing make, make install and thus need root privs. Though, I run cpan in User all the time and thus can't build. After looking around, I found out that most people use sudo. But since of security reasons I don't want to use sudo (I wrote a sudoWorm to demostrade the dangers of sudo and thus I would be a bit of a Hypocrite to use sudo myself heh)

Anyway isn't there a way to run su -c "make install" instead? I don't mind I have to enter my root passwd for the install of a Module. I tried to run cpan as root. But that didnt really work nice either. Since I got quite a lot of rubbish. I have to configure it all the time every time I want to use it..

Oh and I build some packages myself with just going to the Folder and do make install myself. But I forgot to do the Deps. and now I am stuck with a package that doesnt work not wants to resolve it deps for me.. Any tips for me? Thanks!

But besides this big annoyance Perl give me a lot of spare time. Everything I used to do in C or ASM that took me like 20 Minutes take 2 Minutes now :) Thanks Perl ^^

Found it thanks !


In reply to Perl Cpan Question by RobinV

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.