This section provides a tutorial example on how a list value can be returned from a subroutine to the caller using the return statement.
As mentioned in the previous section,
all return values are passed back to the caller as a single list
of scalars. If a list (array or hash) is used as a return value,
it will be exploded into multiple return values with its elements.
Here is a tutorial example on how to return a list value to the caller: