You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sub BUILDARGS {
my ($class, %args) = @_;
my $field_list = delete $args{'field_list'};
if ($field_list) {
if (ref($field_list) eq 'ARRAY') {
# If the module is called from another script
$args{'_field_list'} = $field_list;
} else {
# If the module is called from a fix
my @list = split(/,/, $field_list);
my @fields = map { $_ =~ s/^\s+//; $_; } @list;
$args{'_field_list'} = \@fields;
}
}
return \%args;
}
But this actually breaks the command line option with this error on Perl 5.26.0
Reference found where even-sized list expected at /Users/matthiasvandermaesen/Workspace/Catmandu-CA/lib/Catmandu/Store/CA.pm line 22.
Oops! Missing required arguments: password, url, username at /Users/matthiasvandermaesen/.plenv/versions/5.26.0/lib/perl5/site_perl/5.26.0/Catmandu/Env.pm line 142.
The text was updated successfully, but these errors were encountered:
The CA.pm module contains this code:
But this actually breaks the command line option with this error on Perl 5.26.0
The text was updated successfully, but these errors were encountered: