if(defined wantarray()) { } elsif(wantarray()) { } [download]
In reply to Re: How do I check the return value of wantarray? by imp in thread How do I check the return value of wantarray? by Alien