in reply to Re^2: Passing commands to subroutines
in thread Passing commands to subroutines
Have you read 'perldoc -f system'?
invokes the shell, and it is the shell which does redirection (> <)system "foo >bar";
In Section
Seekers of Perl Wisdom