K
king
$output = NVPCI32 Get Address: base=0xF0300060
[0xE0300060] -> 0x00807805
....
This whole thing is saved in a scalar variable say $output.
Now i want to check the last two bits/characters that is 05 in this
case, and if these last two characters
are not 10, then
put 78 of 0x00807805 in a another scalar variable.
My problem-
as $output is a scalar, and the string is arranged in a peculier
manner, i am facing a lot of difficulties.
can anybody suggest how to do this.
[0xE0300060] -> 0x00807805
....
This whole thing is saved in a scalar variable say $output.
Now i want to check the last two bits/characters that is 05 in this
case, and if these last two characters
are not 10, then
put 78 of 0x00807805 in a another scalar variable.
My problem-
as $output is a scalar, and the string is arranged in a peculier
manner, i am facing a lot of difficulties.
can anybody suggest how to do this.