I am using File::Basename to get the user's file path:
$path=dirname($bla);
$path=s/\//\/;
$file= basename($bla);
and finally using open(FH,"$path/$file") to open and read contents of the $file(.txt file).
Its not reading the contents.
please help me with this,I am new to perl.
thanks in advance,