Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Re: Writing to command line when prompted

by amphiplex (Monk)
on Jun 28, 2002 at 14:58 UTC ( #178034=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    
    ...
    
    print "IN:  [$filename_in]\n";
    print "OUT: [$filename_out]\n";
    
  2. or download this
    use strict;
    
    ...
    my ($filename_in, $filename_out) = qw(infile outfile);
    system ("echo \"$filename_in\n$filename_out\n\" | $command");
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2022-12-05 14:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?