[EMAIL PROTECTED] (Nikola Janceski) writes:
>
>
> 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 sc
[EMAIL PROTECTED] wrote:
>
> The following snippet is from "Advanced perl programming" by Sriram
> Srinivasan. A test program is also attached.
> If I print any other list element, it works fine but for
> the first element ( $array[1] ), it gives a warning. What's on??
> Perl version is 5.6.0 on
; To: [EMAIL PROTECTED]
> Subject: Strange tie Problem
>
>
> The following snippet is from "Advanced perl programming" by Sriram
> Srinivasan. A test program is also attached.
> If I print any other list element, it works fine but for
> the first element ( $array[1]
The following snippet is from "Advanced perl programming" by Sriram
Srinivasan. A test program is also attached.
If I print any other list element, it works fine but for
the first element ( $array[1] ), it gives a warning. What's on??
Perl version is 5.6.0 on RH Linux 7.
/home/atul/myperl> ./ts