in reply to Waiting for an External Program to Finish Executing

Uh, how about system?

system $getSite; system $createCSV; system $createXML, $siteCSV, $siteXML;

Also, please don’t quote lone variables. "$getSite" is subtly different from $getSite, never necessary (except when it is) so it may bite you, and just adds noise. Perl is not shell, so don’t do that.

That said – why put this into a Perl script instead of a shell script?

Makeshifts last the longest.