/[nn]/swish/brzak.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /swish/brzak.pl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations)
Wed Sep 3 15:34:58 2003 UTC (20 years, 7 months ago) by dpavlin
Branch: MAIN
File MIME type: text/plain
save broj zakona in gdbm file

1 dpavlin 1.1 #!/usr/bin/perl -w
2    
3     use strict;
4     use GDBM_File;
5    
6     my $gdbm_file="./brzakona.gdbm";
7    
8     my %br_zakona;
9     tie %br_zakona, 'GDBM_File', $gdbm_file, &GDBM_WRCREAT, 0640;
10     foreach (sort keys %br_zakona) {
11     printf("%-8s %3d %s\n",$_,$br_zakona{$_},"#" x $br_zakona{$_});
12     }
13     untie %br_zakona;

  ViewVC Help
Powered by ViewVC 1.1.26