http://qs321.pair.com?node_id=776511


in reply to Re^2: Passing commands to subroutines
in thread Passing commands to subroutines

Have you read 'perldoc -f system'?
system "foo >bar";
invokes the shell, and it is the shell which does redirection (> <)

Replies are listed 'Best First'.
Re^4: Passing commands to subroutines
by citromatik (Curate) on Jul 01, 2009 at 17:44 UTC
    <blocquote>Have you read 'perldoc -f system'?

    Yes... that is why I am asking: you are calling system with 1 argument... can you please give me an example like that one (with redirection) using the multiple-arg version?

    citromatik