how to use the filehandle stored in a variable without knowing its file association i.e. the filename
code
my $logFH = $connObj->get('logFH');
infoPrint("Variable is of type IO \n") if(UNIVERSAL::isa($logFH, 'IO'));
infoPrint("$logFH\n");
output
== INFO :: Variable is of type IO
== INFO :: FileHandle=IO(0x8c634e8)
Now that I got a file handle stored in a scalar plz suggest ny way of using it to access its file content.
open and sysopen doesnot work as it require the file name as well.
ny work around !!!!!!!!!!!!!!