jonnymp316
IS-IT--Management
Hello,
I am a beginner with Perl and I was wondering how I could script with perl to read the output of file. In other words how can I parse the output from a dos application?
For instance I run...
C:\>status.exe
name=Jonny
value=10
status=10x2
C:\>
all I want to do it to pick out the number of 10x2 out of that line from status. Can anyone help. Like I said I am a newbie so don't go to hard on me.
Thanks,
-Jonny
I am a beginner with Perl and I was wondering how I could script with perl to read the output of file. In other words how can I parse the output from a dos application?
For instance I run...
C:\>status.exe
name=Jonny
value=10
status=10x2
C:\>
all I want to do it to pick out the number of 10x2 out of that line from status. Can anyone help. Like I said I am a newbie so don't go to hard on me.
Thanks,
-Jonny