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
- Re: 'is' and action at a distance Graham Barr
- Re: 'is' and action at a distance Piers Cawley
- Re: 'is' and action at a distance Austin Hastings
- Re: 'is' and action at a distance Jarkko Hietaniemi
- Re: 'is' and action at a distance Graham Barr
- Re: 'is' and action at a distance Piers Cawley
- Re: 'is' and action at a distance Edward Peschko
- Re: 'is' and action at a distance Michael G Schwern
- Re: 'is' and action at a distance Damian Conway
- Re: 'is' and action at a distance Edward Peschko
- Re: 'is' and action at a distance Damian Conway
- Re: 'is' and action at a distance Damian Conway
- Re: 'is' and action at a distance Michael G Schwern
- Re: 'is' and action at a distance John Siracusa
- Re: 'is' and action at a distance Graham Barr
- Re: 'is' and action at a distance Damian Conway
- Re: 'is' and action at a distance Graham Barr
- Re: 'is' and action at a distance Larry Wall
- Re: 'is' and action at a distance Uri Guttman
- more slots in the glob, 'but', Re: 'is' and action ... David L. Nicol
- Re: 'is' and action at a distance Johan Vromans
