Advertisement

12.11.2007 at 04:14PM PST, ID: 23017233
[x]
Attachment Details

Invoke perl from file and output to same file.

Asked by naseeam in Perl Programming Language

Tags: file, output, write

Can I invoke perl from a file and write ouput to the same file.  Example is as follows:

Filename sample.txt

...
..
perl C:\script.pl < somefile.txt > sample.txt
..


So, can I invoke script.pl from sample.txt file and write output to sample.txt?Start Free Trial
[+][-]12.11.2007 at 04:29PM PST, ID: 20454226

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]12.11.2007 at 08:27PM PST, ID: 20455051

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.12.2007 at 03:45AM PST, ID: 20456395

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.12.2007 at 07:16AM PST, ID: 20457496

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.12.2007 at 07:25AM PST, ID: 20457547

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.12.2007 at 08:07AM PST, ID: 20457867

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.12.2007 at 08:13AM PST, ID: 20457920

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.12.2007 at 08:29AM PST, ID: 20458059

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.12.2007 at 08:54AM PST, ID: 20458260

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Perl Programming Language
Tags: file, output, write
Sign Up Now!
Solution Provided By: Adam314
Participating Experts: 4
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628