On Wed, 2004-01-07 at 20:39, Paul Harwood wrote:
> I am reading through a book on Objects and References and I don't
> understand this statement:
> 
> $sum +=  $_ for split //;

FWIW, for is synonymous with foreach.

-Dan


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to