File: 22_hash_vs_brace.code

package info (click to toggle)
libppi-perl 1.220-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,876 kB
  • ctags: 869
  • sloc: perl: 13,327; makefile: 8
file content (4 lines) | stat: -rwxr-xr-x 84 bytes parent folder | download | duplicates (10)
1
2
3
4
map {$_ => 1} @foo;
map({$_ => 1} @foo);
foo {$_ => 1}, @foo;
foo({$_ => 1}, @foo);