Completed Chapter 4

``pop`` works here, but relies on there only being one parameter. If someone were to supply more parameters or a list your function would behave unexpectedly.

It's more common to use ``shift`` as this effectively provides your parameter list from left to right, rather than right to left, so you're always expecting to see the first parameter. You can also assign ``@_`` to a list to be even more specific, such as ``my ( $name, $other_value, ...) = @_;``.