Net::SCP download recursive

The recursive documentation suggests that
:recursive - the remote parameter refers to a remote directory, which
should be downloaded to a new directory named local on the local
machine.

So I copied “/pub/temp” to “C:\TEMP”

If temp had one file /pub/temp/file, the copy results in a file at C:
\TEMP\temp\file, shouldn’t it have been C:\TEMP\file

This is what command line scp would have done.