sasikumar has asked for the wisdom of the Perl Monks concerning the following question:

use Cvs; my $cvs = new Cvs ( '/common/project/CVSROOT', cvsroot => ':pserver:test@cvs.com:/cvs', password => 'secret' ) or die $Cvs::ERROR; my $status = $cvs->status('/home/test1/trunk/build.xml'); print $status; if($status->is_modified) { print "moddified"; } else { print "unmodified"; }
I have installed the cvs module . When i tryh to run this script it gives me the following error.
Can't locate object method "is_modified" via package "Cvs::Result::Bas +e" at find_conflicts.pl line 24.
But cpan has stated to use it in this way. Please let me know any other issue.

Replies are listed 'Best First'.
Re: Cvs problem
by eserte (Deacon) on Apr 27, 2004 at 09:29 UTC