I don't see the "extract" function in the code you posted, so I can't quite guess what it is doing. The other external program calls you are making in the code you posted use system which will wait for the command invoked to finish before returning to the controll flow of your code. If you you think the probelm may lay in a buffer of some filehande, you should try turning on autoflush. If you are using a scalar or IO::Handle object as your filehandle use $fh->autofuch(1);. If you are using a barword file handle, or are concerned about STDOUT or STDIN you could try:
select((select(STDOUT), $|=1)[0]); select((select(STDERR), $|=1)[0]);
Hope this helps...
In reply to Re^2: cls and perl
by JediWizard
in thread cls and perl
by jungl3thug
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |