P
perlcoder
We store an array of 32 doubles as a string in a database. When the data is
fetched
from the database it is first read to a char[257] and then converted to an array
of 32 double, by using C union.
Now we want to do the same in perl. We get the data from the database using DBI.
How do you convert from a $scalar to an array.
thanks
fetched
from the database it is first read to a char[257] and then converted to an array
of 32 double, by using C union.
Now we want to do the same in perl. We get the data from the database using DBI.
How do you convert from a $scalar to an array.
thanks