in reply to Re^2: Applying multiple file modes
in thread Applying multiple file modes

Hello again leelu,

The monks are happy to help you, but you need to meet us half-way. First, please follow wrog’s advice and format your post using paragraph and code tags:

<p>First paragraph</p>
<code>
use strict; use warnings; ... close( $f2 ); #close output file handle }
</code>
<p>Final paragraph</p>

See:

Second, please follow afoken’s advice and post actual code. The code you have posted does not compile:

Third, you say you are “getting error during while condition,” but don’t explain what that error is. Please see:

and be sure to show the output you want to see, and exactly how it differs from the output you do see.

Hope that helps,

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,