File: 22_hash_vs_brace.code

package info (click to toggle)
libppi-perl 1.215-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,820 kB
  • sloc: perl: 12,129; 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);