Help for this page

Select Code to Download


  1. or download this
    1.  The first and second arguments are the list name (-name) and value
    +s (-values).  As in the popup menu, the second argument should be an 
    +array reference.
    
  2. or download this
    print scrolling_list('name', \@array);
    
  3. or download this
    my $data_dir = '/foo';
    opendir(DIR, $data_dir)
    ...
    my @files = grep { /data$/ && -f "$data_dir/$_" } readdir DIR;
    closedir DIR;
    print scrolling_list('name', \@files);