How do i use the unshift operator in perl code?
-
Also, see: What do the shift and unshift operators do in perl?
$selection = unshift @animals, zebra;
- Add zebra to the beginning of the array.
© Lightnetics 2024
Also, see: What do the shift and unshift operators do in perl?
$selection = unshift @animals, zebra;
© Lightnetics 2024