Visa Inc. Interview Question

When would you use Perl Scripts vs C++?