can i have this file handle (anyway it is just like a array or scalar reference :) i think that filehandle is going to be a reference if wrong please correct me) passed as argument to a subroutine. If i can pass it as an argument please mention how to implement it. Please guide me if i am wrong and explain in what way a file handle is actually internally manipulated in Perl.