in reply to Re: Re: Repeat print problem
in thread Repeat print problem
What happens when you print just the $name variable outside of the format statement? Place this in the code before or instead of the write:
print "Name is: $name that's all.\n";
It could be that the split is placing the wrong value into the @data array which subsequently gets copied into $name.
Let us know if that sheds any light.
|
|---|