Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
use strict; use warnings; my $count; my @array=(1,2,3); open(FILE,">/myfile.txt"); print FILE "$array[$count]\n"; close(FILE);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Uninitialized Value Warning
by coreolyn (Parson) on Oct 22, 2003 at 21:29 UTC | |
by Anonymous Monk on Oct 22, 2003 at 21:33 UTC | |
by thelenm (Vicar) on Oct 22, 2003 at 23:06 UTC | |
by bobn (Chaplain) on Oct 22, 2003 at 22:30 UTC |