Re: a small script in which a dbm hash fails to work right

2003-01-17 Thread John W. Krahn
Willy wrote: > > i have a vexing problem for you > the following does work fine::: > > [snip] > > the output is as follows:: > > line one > > line one line two line three line four line five line sixe line seven line > 8 line 9 > > l11 > >

a small script in which a dbm hash fails to work right

2003-01-17 Thread willy
i have a vexing problem for you the following does work fine::: #dbmopen(%CARDREC, "testbase22", 0664)|| #die "can't dbmopen testbase with mode 0664"; open (IN, "test.in")|| die "can't open test.in"; $index=0; foreach (){ $index++; ($index=1) if ($index>10); chomp();