I'm interested in writing a script to perform a checkout from a CVS repository as well as tar'ing the resulting directory structure. Is is possible to:
system "cd", $directory;
system "cvs", "co", $module;
system "tar", "-cvfX", $tar_file, $exclude_file, $module;
.
.
.
and have it execute as if it were from a single session? In other words, after doing the 'cd' and cvs command, the resulting directory $module is in $directory?
Snippets of code would be helpful also.
Tnanks is advance.