tracer has asked for the wisdom of the Perl Monks concerning the following question:
Hi, I have data in the form of a text file and i need to extract numerical information from it.One of the lines in the text file is as follows
66.411716: ABCDE:M WALL 0x0164764a, RX 0x03bb9d42, TS 5.
How do I extract the values 66.411716, 0x0164764a and 5 into three different variables without using the substr function?
Thank you in advance.
.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Extracting numerical information
by ww (Archbishop) on Jun 27, 2013 at 19:01 UTC | |
by BillKSmith (Monsignor) on Jun 27, 2013 at 21:02 UTC | |
|
Re: Extracting numerical information
by hdb (Monsignor) on Jun 27, 2013 at 18:55 UTC | |
|
Re: Extracting numerical information
by AnomalousMonk (Archbishop) on Jun 28, 2013 at 01:57 UTC | |
|
Re: Extracting numerical information
by frozenwithjoy (Priest) on Jun 27, 2013 at 18:45 UTC | |
by tracer (Initiate) on Jun 27, 2013 at 19:00 UTC | |
by ww (Archbishop) on Jun 27, 2013 at 19:07 UTC |