'also installing from CPAN is not working, saying that something "unable to resolve host "...'

Network connectivity is a different problem, and somewhat unrelated to the fact that you still won't be able to compile modules, again speak to your sysadmin. If internet access is out of the question use CPAN::Mini on a machine which does have internet access to create a mirror when you could then use 'offline'.

'but the work i m doing is in organization, and they dont want to rebuild/seprate build of perl interpreter, Now I have to install modules from CPAN'

For clarity, I wasn't suggesting you rebuild Perl that Solaris uses, for the love of Zod leave that alone. I suggested that a separate build of perl be compiled using gcc. If your organisation can't see the benefit of this then this isn't an issue we can help you with.

Compiling your code and required modules using pp on another solaris 10 server (it would need to be the same architecture) would be an option, if you can get access to a server were you can build perl and install modules. If not I guess you need to either raise the issue with your employer again, if they don't want to give you access to the right tools then they can't expect much.


In reply to Re^3: CPAN Module Installation by marto
in thread CPAN Module Installation by ajeet@perl

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.