File: 22_hash_vs_brace.code

package info (click to toggle)
libppi-perl 1.270-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,112 kB
  • sloc: perl: 13,991; makefile: 8
file content (4 lines) | stat: -rw-r--r-- 84 bytes parent folder | download | duplicates (10)
1
2
3
4
map {$_ => 1} @foo;
map({$_ => 1} @foo);
foo {$_ => 1}, @foo;
foo({$_ => 1}, @foo);