Hi, PerlMonks. I am seeking wisdom about the shift()-> idiom. What does this do? I understand how shift operates in the context of an array, but this form seems to either be dereferencing a hash/array ref or calling a method. Specifically, I found this form of shift in the source code to Geo::Shapefile, e.g.
Just curious if someone could shed some light on the use of shift in this context
Thanks
In reply to Perl Shift()-> by etlamar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |