in reply to Re: ||= (poorly documented?)
in thread ||= (poorly documented?)
If you scroll down in perlop you'll see that style used to describe what // does, so they appear to be equivalent.|| tests for truthiness (and, therefore, definedness), whereas // only tests for definedness.
|
---|
In Section
Seekers of Perl Wisdom