File: rlog.pl

package info (click to toggle)
librcs-perl 1.05-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 476 kB
  • sloc: perl: 1,399; makefile: 2
file content (20 lines) | stat: -rwxr-xr-x 402 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/perl -w
#------------------------------------------
# Use rlog utility.
#------------------------------------------
use strict;
use Rcs;

my $obj = Rcs->new;

# call quiet and bindir as objest methods
$obj->quiet(1);
$obj->bindir('/usr/bin');

print "Quiet mode set\n" if Rcs->quiet;

$obj->rcsdir("./project/RCS");
$obj->workdir("./project/src");
$obj->file("testfile");

print $obj->rlog;