Perl enchanced course
cc## Arrays and lists methods. - shift - pop value from the beginning - unshift - add value to the beginning - pop remove value from the end - push add value to the end - Splice - takes 4 arguments - 1st @array - 2nd index of array element to start from (similar to slicing in python and go) - 3rd specify length to operate on. Number of positions to act on in the array - More on Splice SPLICE DOC
Numbers and print formatting¶
perl -e 'print 1.9123+5,"\n";print 255.0 - 5,"\n";print -42e-19 *2,"\n";printf "%.2f\n",(7_303_332_22 / 3),"\n";printf "%.2f",23223.2323*25;printf "%.2f\n",2**4;print 18%4,"\n";'
6.9123
250
-8.4e-18
243444407.33
580580.8116.00
2