- or download this
my @libfiles;
GetOptions ("library=s" => \@libfiles);
@libfiles = split(/,/,join(',',@libfiles));
- or download this
use Getopt::Long;
my (@foos, @bars, @bazen, @quuxi);
GetOptions (
...
@quuxi = split /,/, join ',', @quuxi;
=end comment
- or download this
=begin comment
sub c_split {
...
@quuxi = c_split(@quuxi);
=end comment
- or download this
=begin comment
sub c_split (\@) {
...
c_split(@quuxi);
=end comment
- or download this
=begin comment
sub c_split {
...
c_split(\@foos, \@bars, \@bazen, \@quuxi);
=end comment
- or download this
(sub { @$_ = split /,/, join ',', @$_ for @_ }) ->
(\@foos, \@bars, \@bazen, \@quuxi);