in reply to Re^3: login to cvs through perl script
in thread login to cvs through perl script

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re^5: login to cvs through perl script
by marto (Cardinal) on May 19, 2010 at 13:13 UTC
Re^5: login to cvs through perl script
by Corion (Patriarch) on May 19, 2010 at 13:10 UTC

    What do you mean by "it did not work"? How does it fail for you? Did you fill in the proper server and username and password?

Re^5: login to cvs through perl script
by toolic (Bishop) on May 19, 2010 at 13:24 UTC
    What ia m doing wrong here.
    Two things: you did not post the actual warning message you got and you did not read the Cvs::Simple documentation closely enough.

    When I run your code, I get this warning:

    Odd number of elements in hash assignment...

    The new constructor accepts a hash as input, and the hash requires very specific keys: cvsroot and password are not supported keys.

      Thanks Toolic. I am novice in perl and learning with the experience of you monks. My doubt here is that in cvs::simple module i did not see where to give the cvs server details and credentials. I am also not to explore the config items mentioned in the package document.
        moritz originally pointed you to the Cvs module, but the code sample you posted uses a different module, Cvs::Simple. I have no idea what the difference is between the 2 modules because I have never used either one. Give Cvs a try.