$foo{ three } = $doit->( 1 ); $quux{ two } = get_that( 25 );
There. All better now :) (And (probably?) compatible with Perl 6)
My justifictions:
Conversely, this $foo{ says, hash; and this $foo{ three } is clearly addressing the element keyed with three in the hash named %foo.
Conversely, this $doit->( 1 ) obviously dereferences the scalar $doit and attempts to call it as a subroutine passing 1 as the parameter.
Whereas this get_that( 25 ); is obviously calling a subroutine.
Though if you're using a small enough font, that silly underscore seems to disappear, and suddenly it turns into Patrick McGoohan giving an order to that bit-part cast member you knew was destined to die this episode, because of his identifier.
In reply to Re^3: white spaces between the sigil and the variable ( $ x = )
by BrowserUk
in thread white spaces between the sigil and the variable ( $ x = )
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |