Think about Loose Coupling | |
PerlMonks |
Re: meaning of =()=by JavaFan (Canon) |
on Jan 04, 2010 at 18:01 UTC ( [id://815619]=note: print w/replies, xml ) | Need Help?? |
Is there a name for the =()= "operator"?It's the goatse (secret) operator. Does it have any further significance beyond returning the number of matches from a regular expression?Of course! It can also be used to find out the number of elements returned by localtime. Or by caller. Or any other function that in scalar context doesn't return the number of elements of what it would return in list context.
In Section
Seekers of Perl Wisdom
|
|