Last change
on this file since 405 was 2, checked in by Rick van der Zwet, 15 years ago |
Initial import of data of old repository ('data') worth keeping (e.g. tracking
means of URL access statistics)
|
-
Property svn:executable
set to
*
|
File size:
220 bytes
|
Line | |
---|
1 | $file="$ARGV[0]";
|
---|
2 | if (! -r $file ) {
|
---|
3 | print STDERR "Usage <program> <file>";
|
---|
4 | exit(128);
|
---|
5 | }
|
---|
6 |
|
---|
7 | sub percent {
|
---|
8 | my ($number, $total) = @_;
|
---|
9 | $percent = $number/$total * 100;
|
---|
10 | return "(", int($percent), "%)";
|
---|
11 | }
|
---|
12 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.