Of the two, I like the second one -- a) call the method, b) did it work?
Hm. That's backward. How can you call the method if you don't have a valid reference?
Of those two, I prefer the first: a) do we have a valid reference? b) if so, dereference it.
In reply to Re^2: What operator should perl5porters use for safe dereferencing?
by BrowserUk
in thread What operator should perl5porters use for safe dereferencing?
by de-merphq
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |