perl API add command modifer

want to get all parameters via perl API equivalent to telnet CLI “/interface wireless print advanced”

using &Mtik::talk(@command);

tried the following - empty results return, no error message:

$command[0] =
“/interface/wireless/print/advanced”
“/interface/wireless/getall”
and various other combinations of a single @command entry

also

multiple @command entries, like

$command[0] = “/interface/wireless/print”;
$command[1] = “advanced”

all of the tries returned empty error_msg and no data

suggestions?

Arguments need to have “=” before their name, and before their value, so:

$command[0] = "/interface/wireless/print";
$command[1] = "=advanced="

yes! of course!
sorry about being so mindless
thanks!