open (WFH1, ">", "${basePath}/QueryResult4.txt"); run('$SQLPLUS \@${basePath}/VoucherQuery4.sql $startdate', '>', \\WFH1); close(WH1); #### Global symbol "$WFH1" requires explicit package name at VoucherStateChange.pl_other2 line 47. Global symbol "$WFH1" requires explicit package name at VoucherStateChange.pl_other2 line 48. Execution of VoucherStateChange.pl_other2 aborted due to compilation errors.