Hi there,
Thank you for replying.
Yes there is a prototype mismatch in the subroutine.
The three subroutines are basically used to input the multiple files from the user using the open dialog box and pushbutton. Once the user enters the files, these filenames are then passed as arguments to parser which then parses through the multiple files simultaneously.
Can you suggest a better way to do this ??. the three subroutines are similar and a sample code is as follows:
sub push_button1 {
$filename1 = $mw->getOpenFile( -title => 'Open File:',
-defaultextension => '.xslx', -initialdir => '.' );
$ent -> insert('end',"$filename1");
}