Joshua Colson wrote:
>
> I have this code that is acting strange... does anyone know why.
>
> open( CONFIG, "+
> while( ) {
> print;
> print CONFIG;
> }
>
> close( CONFIG );
>
> The first time I run the script, it reads the file, which is one line, and
> duplicates that line.
> Now, corr
I have this code that is acting strange... does anyone know why.
open( CONFIG, "+ ) {
print;
print CONFIG;
}
close( CONFIG );
The first time I run the script, it reads the file, which is one line, and
duplicates that line.
Now, correct me if I'm wrong, but I would think that each time this