I have some scalar values in array
@array=(1,2,3,4,5);
We can directly assign these values to variables as
($a,$b,$c,$d,$e)=@array;
Is there some way so that I can add the corresponding values of @array numbers like $x +=10;
($a,$b,$c,$d,$e) +=@array;
Sorry for asking such silly question ;)