in reply to Re^6: Stuck on packages
in thread Stuck on packages

ARRAY(0x18012b8) is the output.

Which was expected. Indeed in the post you're replying to, but failed to quote properly, there was clearly written "If you dump the return of this, you'll see it's in an array."

Just use (e.g.) Data::Dumper's Dump instead of print.