ARSperl Programmer's Manual

## `ars_simpleMenu(menu)`

This is a perl routine in the ARS.pm perl module. It is primarily intended to make life a little easier for the Web client demo script. It converts a menu returned by ars_GetCharMenuItems to a single level menu seperating labels with '/'. This was added because of limitations in HTML.

On success
  An array of menu items.
On failure
  `undef`

Example:

          @sm = ars_simpleMenu(ars_GetCharMenuItems($ctrl, $menu_name));

Back to Table of Contents