Note that since CGI.pm version 4.05 (released in 2014) using this approach will cause a warning to be emitted regarding the potentially unsafe nature of it. You can improve the safety (and by doing so avoid the warning) by calling multi-param instead.
#!/usr/bin/env perl use strict; use warnings; use CGI qw(multi_param); use Data::Dumper; my @list = multi_param ('list'); print Dumper \@list;
🦛
In reply to Re^2: Input arrays to CGI
by hippo
in thread Input arrays to CGI
by dooberwah
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |