- or download this
CASE1:
my @result = map $_*2, @list;
- or download this
@result = join (',',@result);
- or download this
CASE2:
my @result = map $_*55, @list;
- or download this
@result = join (',',@result);
- or download this
#!/usr/local/bin/perl
use strict;
...
print qq(the size of "@list" is: ).total_size(\@list). " Bytes\n";
print qq(the size of "@result" is: ).total_size(\@result)." Bytes\n";