in reply to printing hashes
For constructs that do interpolate, variables beginning with ""$"" or ""@"" are interpolated, as are the following escape sequences.
use Data::Dumper; print Dumper \%hash; print join ":", %hash; print join ":", keys %hash; print join ":", values %hash; while( my ($k, $v) = each %hash ){ printf " %s --> %s\n", %k, $v; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: printing hashes
by gam3 (Curate) on May 06, 2005 at 02:17 UTC | |
by thcsoft (Monk) on May 06, 2005 at 04:16 UTC |