Re: Strange tie Problem

2002-07-17 Thread atul
[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

Re: Strange tie Problem

2002-07-16 Thread John W. Krahn
[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

RE: Strange tie Problem

2002-07-16 Thread Nikola Janceski
; 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]

Strange tie Problem

2002-07-16 Thread atul
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