> > > my $input = shift; ------------> what are we doing here? >
First input paramter to the subroutine is getting shifted i.e getting stored in the variable '$input' > $sum += $_ for @digits; ---------> what exactly is the > . > All the elements of the array '@digits' are getting added together and final increamented value is being stored in the variable '$sum' Cheers, Parag