[EMAIL PROTECTED] (Nikola Janceski) writes:

> <Long-shot guess>
> 
> The first element is a filehandle (or reference to one) and once the
> filehandle is closed the element is now uninitialized.
  The filehandle is closed in DESTORY of the package, so could happen
 till untie is called or the array goes out of scope.
 As the scope of the @array var is till the end of the file, I do not 
see how this could happen?
> 
> I think the module didn't splice out that element.
I don't understand this? Maybe, you could elaborate....
> </guess>
> 
> <Guess 2>
> You have no value for that element from the data you are tying.
As the argument is the test file itself, it has 6 lines.
> </guess 2>
> 
> 
> What does $array[0] have?
#!/usr/bin/perl -w
> 
> have you tried debugging or Data::Dumper to see what @array consistes of?
> 
> this is only a warning, you can turn off warnings to avoid the message if
> that's all you wanted.
Actually, I get all the lines, except the second ( $array[1] ).
However, if I try to print the array slice "@array[0,2,3,4,5]" I still
 get the warning and I get line 0 ( becauseof undef => 0 conversion ).   
Anyway, turning warnings off is pretty bad :-)

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to