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

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.

Replies are listed 'Best First'.
Re^6: login to cvs through perl script
by nt2282 (Novice) on May 19, 2010 at 15:28 UTC
    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.