Ed said:

   > No, because you can say:
   >    print "$fh";
   > and find out exactly what is going on.
   > 
   > In the case with 
   >     undef $fh;
   > $fh is true.
   > 
   > if ($fh) { print "HERE!!!\n"; }
   > 
   > print "$fh";
   > 
   > you get nada, right?

Right.
 
   > So... why the *$#$ is it getting into the loop?
   > 
   > There has to be a method to print out the *contents* of $fh, not
   > just the values.

print $fh.true;         # Just the truth

print %{(+$fh).prop};   # All the value's properties

Damian

Reply via email to