andrewr has asked for the wisdom of the Perl Monks concerning the following question:
I'm having a bit of trouble as I cannot access perldoc.perl.org etc (basically anything that resolves to x4.develooper.com) therefore cannot get to any of the docs or someof the online books... anyways....
I have a variable that contains a single line of text eg:
Margin dB : 20.0 19.8
I wish to get the two numeric data values out as invidual scalar variables ( $value1 and $value2 for example).
What would be the easiest way to achive this?
Many thanks in advance.
Andrew
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: data extraction from a variable
by ikegami (Patriarch) on Jan 29, 2010 at 03:08 UTC | |
|
Re: data extraction from a variable
by roboticus (Chancellor) on Jan 29, 2010 at 03:13 UTC | |
by ikegami (Patriarch) on Jan 29, 2010 at 04:01 UTC | |
by andrewr (Initiate) on Jan 29, 2010 at 23:23 UTC | |
|
Re: data extraction from a variable
by Anonymous Monk on Jan 29, 2010 at 05:14 UTC |