Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
In this section, I'll go through the code for the demo subroutine sequence_manipulation that was shown in the last section.
The subroutine is actually an anonymous subroutine; a reference to the subroutine is saved in the scalar reference variable $sequence_manipulation: