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
>
>
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();