Hate to be so blunt but it means exactly what it says.
You never gave $count a value. To get rid of it you could set my $count=0, but I'm not sure what that'll do for you. The way you have this code it looks like you're only trying to print "1" ( $array[0] ) to myfile.txt.
What are you wanting this code to accomplish?
In reply to Re: Uninitialized Value Warning
by coreolyn
in thread Uninitialized Value Warning
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |