in reply to Re^3: most appropriate return data type
in thread most appropriate return data type
It is now. It used to be the split function, in which case, you'd get a split-in-a-scalar-context which would clobber @_ and trigger a warning and return 4. :)
- the qw// operator is the comma operator in disguise
-- Randal L. Schwartz, Perl hacker
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: most appropriate return data type
by TGI (Parson) on Feb 24, 2010 at 20:38 UTC |
In Section
Seekers of Perl Wisdom