Hi can i pass the file variable in the function.. for eg.
$lofile = " somefile"; and call the function file_read(lofile) ; where function is : sub file_read { while (<$_[0]>) blah..blah.. } Pravesh -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]