hi

I am working on automation of clearcase, in which- my perl scripts should automatically set a view, start the view, set the label and version according to user's choice and retrive the source codes and copy it to remote location. but when I try to run command in my perl scripts:

system ("/usr/atria/bin/cleartool setview <view_name>");

and it doesn't come out of the program until i enter exit. and then rest of the program gets executed. I can see that this is occuring due to the cleartool command which spawns a subshell.

So i tried using cleartool::CtCmd and other clearcse perl modules. but the problem is now that I am working on linux server and i don't have permission to install new perl modules. so i install my new version of perl locally and i tried installing perl modules locally. i am able to install some modules successfully and also able to work with them. but I am not able to install clearcase-perl moduels and even if i'm successful in installing them locally, my program is not able to use the locally installed modules. i even add local modules directory path to @INC array. but it's still not working. I can see my installed modules in the same directoy. what may be wrong here?

and the modules i am not able to install i.e. ClearCase::CtCmd, what may be the issue? i even set all the environment variable values,but i think i am still misssing something. please help me. I can not proceed with my further work without solving this issue.

or show me the other way where i can set clearcase view automatically and copy the source code to remote location or some local directory.


In reply to problem while installing the perl modules for clearcase by dpatel

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.