in reply to Docs notation

It's likely to be #2, since:

$ret = foo($scalar);

Is (generally) equivalent to:

$ret = foo($scalar, undef, undef);

There's another option, though, and it all depends on how the author wrote his/her code:

$ret = foo($scalar, [], $hash_ref);

In other words, it may be necessary to use an empty arrayref, though my gut would say using just undef would be more likely correct.

<radiant.matrix>
Ramblings and references
The Code that can be seen is not the true Code
I haven't found a problem yet that can't be solved by a well-placed trebuchet