Yes, you are calling backticks in void context. You're ignoring the screen output of your program, so you have no evidence that it ran. Try this modification:
$dir = "C:\\parser_pgm\\test"; opendir(TXT, $dir) or die "Can't open $dir: $!"; while( defined ($file = readdir TXT) ) { print `parser_pgm.exe $file`; } closedir(TXT); # not XML
Is that more like what you expect?
After Compline,
Zaxo
In reply to Re^2: calling .EXE through Perl script
by Zaxo
in thread calling .EXE through Perl script
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |