Command to get the word from the file

Hi All,

I have a file like this,

2.5479E+17 1336877
2.5479E+16 1336977
2.5479E+1789 2446877
....

I want to get this value into two seperate variables. i tried like this,

NOTE: Here the length of this two variables will not be always same.

profile_poid=`cat temp | cut -d, -f1`
account_poid=`cat temp | cut -d'  ' -f2`

then i get the result like this

echo $profile_poid = 2.5479E+17 1336877
echo $account_poid = 

I want ther result like this

echo $profile_poid = 2.5479E+17 
echo $account_poid = 1336877

Can anyone please suggest how to do this.

Thanks in advance,
Giri.

while read profile_poid account_poid
 do
   echo "profile_poid = $profile_poid"
   echo "account_poid = $account_poid"
done < girish.raos.in

If that's all what's in your file that'd be allright.