* passing scalars as themselves * passing a "reference to an array" (which is itself a scalar) instead of the array itself * passing a "reference to a hash" (which is itself a scalar) instead of the hash itself #### sub do_something($my_scalar, $my_arrayref, $my_hashref) { my @my_array = @$my_arrayref; my %my_hash = %$my_hashref; ### more code here ### }