F
Frank Seitz
#!/usr/bin/perl
use strict;
use warnings;
my @arr = map {lc.'X'} qw/A B C/;
print "@arr\n";
__END__
Warning: Use of "lc" without parentheses is ambiguous at ./test.pl line 6.
aX bX cX
I don't see the problem. Where is the ambiguity?
Frank
use strict;
use warnings;
my @arr = map {lc.'X'} qw/A B C/;
print "@arr\n";
__END__
Warning: Use of "lc" without parentheses is ambiguous at ./test.pl line 6.
aX bX cX
I don't see the problem. Where is the ambiguity?
Frank