kroz has asked for the wisdom of the Perl Monks concerning the following question:
Hi all,
I'm new to perl but i'm learning.
I want to create a perl that reads a file, gets the last word from each line and executes a command like so:
File being read
and so on-rw-r--r-- 1 134529024 Jul 12 15:51 My_file1.TMP -rw-r--r-- 1 1036349440 Jul 13 11:03 myfile2.TXT
where Myperl_2.pl is another perl routine (that i didn't write) that i am runningMypath\MyPerl_2.pl My_file1.TMP Mypath\MyPerl_2.pl myfile2.TMP
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: new to perl
by brx (Pilgrim) on Jul 13, 2012 at 14:09 UTC | |
by kroz (Initiate) on Jul 16, 2012 at 06:02 UTC | |
|
Re: new to perl
by zentara (Cardinal) on Jul 13, 2012 at 15:12 UTC | |
by kroz (Initiate) on Jul 16, 2012 at 06:06 UTC | |
|
Re: new to perl
by davido (Cardinal) on Jul 13, 2012 at 17:28 UTC | |
by kroz (Initiate) on Jul 16, 2012 at 06:08 UTC | |
|
Re: new to perl
by monsoon (Pilgrim) on Jul 13, 2012 at 14:44 UTC | |
by kroz (Initiate) on Jul 16, 2012 at 06:03 UTC |