Ed asked:

   > > print %{(+$fh).prop};    # All the value's properties
   > > 
   > 
   > um.. I'm not the greatest fan of this syntax.. what's the '+' for?

As I explained at the end of the "re: properties" message, it's to evaluate 
$fh, so we get the hash of properties belonging the value in $fh,
not those belonging to the variable itself.
   
   > And the parens?

To make the precedence clear.
   
   > And I'm assuming that $fh.prop is a hash, can the property hash itself
   > have properties?

Almost certainly not, as it's quite possible that the property hash will
only be built on-demand.

Damian

Reply via email to