in reply to How do I check the return value of wantarray?
Because in the first case it isn't possible to reach the branch that tests if wantarray is true, since it is an elsif after testing if it is defined.
if(defined wantarray()) { } elsif(wantarray()) { }
|
---|
In Section
Seekers of Perl Wisdom