I did get, from the cpan documentation, that the result from the $cvs->status command was an object, but the returned object was of type Cvs::Result::Base which does not have the method status.
However using Dumper (good advice, thanks) I noticed that the 'pwd' field in the cvs object was not pointing to where the checked out view was, so I changed the code from
my $cvs = Cvs->new('workdir' => '/projects/millerb/SR/vhdl'
,'cvsroot'=>':pserver:millerb@172.20.175.10:/hwcvs'
,'password' => '********'
) or die $Cvs::ERROR;
TO
my $cvs = Cvs->new('/projects/millerb/SR/vhdl'
,'cvsroot'=>':pserver:millerb@172.20.175.10:/hwcvs'
) or die $Cvs::ERROR;
Which seems to have resolved the issue.
Thanks
Brian | [reply] [Watch: Dir/Any] [d/l] |
Is there a reason why the Cvs or Cvs::Simple module does not have a log method? (Cvs documentation has something but it doesn't seem to work).
I wanted to use the Cvs module because I believe that it uses IPC to communicate with the pserver. I figured that would be more efficient than using my own system('cvs....') commands. Does that sound reasonable?
Brian
| [reply] [Watch: Dir/Any] |
Is there a reason why the Cvs or Cvs::Simple module does not have a log method?
This problem was reported 9 years ago, and there have been no updates:
https://rt.cpan.org/Public/Bug/Display.html?id=15831
I'd say support for this module (Cvs) has been abandoned by the author. If you want that functionality, you'll probably need to implement it yourself.
Regarding the other module, Cvs::Simple, by a different author, you could try to contact the author for support.
| [reply] [Watch: Dir/Any] |
This is a darn good question! The link to Cvs::Result::Log goes nowhere on CPAN, and there does not seem to be any reference to why the link is there but it's target is not.
I am not familiar with the guts of the Cvs module. I used it for a while a long time ago before I switched to git.
I am sorry that I don't have anything more to offer....
...the majority is always wrong, and always the last to know about it...
Insanity: Doing the same thing over and over again and expecting different results...
A solution is nothing more than a clearly stated problem...otherwise, the problem is not a problem, it is simply an inconvenient fact
| [reply] [Watch: Dir/Any] |
| [reply] [Watch: Dir/Any] |
No problem. Thanks for the help.
Brian
| [reply] [Watch: Dir/Any] |