#!/usr/bin/perl my $CVS = '/usr/bin/cvs'; my $DIR = '/home/you/cvs/stuff'; chdir $DIR; print `$CVS update`; print `$CVS diff`;