T
thunder
Hello
I am trying to read a file in perl and then process it.
Each line of the file consists of a 32-bit hex value.
I am using
while ($input_line = <IN_FILE>) {
.....
}
However, for each line i read i want to interpret it as a data value
and do some shifting to this data value. But perl still thinks this
is a string value and won't allow me to do the shifting.
QS; How do i convert the string value of the line read to a scalar/
data value?
Any other suggestions greatly appreciated.
Thanks in advance
J
I am trying to read a file in perl and then process it.
Each line of the file consists of a 32-bit hex value.
I am using
while ($input_line = <IN_FILE>) {
.....
}
However, for each line i read i want to interpret it as a data value
and do some shifting to this data value. But perl still thinks this
is a string value and won't allow me to do the shifting.
QS; How do i convert the string value of the line read to a scalar/
data value?
Any other suggestions greatly appreciated.
Thanks in advance
J