Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: Passing commands to subroutines

by Anonymous Monk
on Jul 01, 2009 at 17:21 UTC ( #776511=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://776511]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2020-07-04 12:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?