> > > use List::Util 'max'; > > my $length = max(scalar @csv_fields, scalar @import_fields); > > Given that is the Perl6 discovery day today I thought I'd offer a Perl6 version:
my $length = [max](@csv_fields.elems, @import_fields.elems); NIge
_______________________________________________ BristolBathPM mailing list [email protected] http://mailman.bristolbath.org/mailman/listinfo/bristolbathpm
