Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Re: Writing to command line when prompted

by amphiplex (Monk)
on Jun 28, 2002 at 14:58 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2024-04-19 09:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found