However I should be able to print the output of map directly. Yet Perl doesn't compile
either. Nor does it compileprint Dumper \{map {$_ => get_day_name($_)} <DATA>};
Why?print Dumper {map {$_ => get_day_name($_)} <DATA>};
In reply to Printing a reference to the output of map by sierrathedog04
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |