#!/usr/bin/perl use strict; use warnings; use v5.26; my %hash = (); $hash{name} = 'Michelle'; $hash{age} = 22; $hash{city} = 'Austin'; say "@{[%hash]}";
In reply to Print the contents of a hash without looping. by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |