in reply to Running perl and outputting to file

I begged some much-appreciated guidance from Mr. Trott, and I think have something that might work.
#!/usr/bin/perl system('perl googly <GoogleKey> foo 5 > /path/to/outputted/file/bar.ph +p');
Seems like I could run that (even with multiple scripts for different searches). Make sense?