C
cmic
Hello
When I use 'abc' as the filename, it works. But if I use
'/home/cmic/abc', it throws
error : "Use of uninitialized value in print at a.pl line 8" and it
doesn't work.
NB Of course, abc has >100 valid lines !!
Anyone can explain ?
use warnings;
use Tie::File;
tie my @array, 'Tie::File', 'abc' || die $!;
print $array[3];
THX
When I use 'abc' as the filename, it works. But if I use
'/home/cmic/abc', it throws
error : "Use of uninitialized value in print at a.pl line 8" and it
doesn't work.
NB Of course, abc has >100 valid lines !!
Anyone can explain ?
use warnings;
use Tie::File;
tie my @array, 'Tie::File', 'abc' || die $!;
print $array[3];
THX