place and plays @_ in perl?
Method 1:
sub Addition{ $a=\@_; ($a,$b,$c)=@$a; $sum=$a+$b+$c; } Addtion(10, 20, 30); print $sum; #60
Labels: place and plays @_ in perl?
[There's More Than One Way To Do It]
Always A Blog To Get Confident in Coding
sub Addition{ $a=\@_; ($a,$b,$c)=@$a; $sum=$a+$b+$c; } Addtion(10, 20, 30); print $sum; #60
Labels: place and plays @_ in perl?