http://qs321.pair.com?node_id=917372


in reply to Re^2: perl error
in thread perl error

Actually, your code has a number of problems.

I would suggest giving Modern Perl or Learning Perl and Programming Perl a good read to get down some of the fundamentals.

Update: Also you set $a and $b to values, then immediately set them to int($phi) and int($psi) which are undefined. If you were running with strict and warnings the compiler would have shown you that.



-pete
"Worry is like a rocking chair. It gives you something to do, but it doesn't get you anywhere."