Think about Loose Coupling | |
PerlMonks |
Re: Mistakenly Believing split is using @_by japhy (Canon) |
on Sep 19, 2001 at 22:15 UTC ( [id://113429]=note: print w/replies, xml ) | Need Help?? |
split() in scalar context (update: void context is a special type of scalar context) assigns to @_. That's documented. Chances are you can use something other than split() if you just want a field-count.
_____________________________________________________
In Section
Seekers of Perl Wisdom
|
|