my $hashref;
my @num=qw( 0 1 2 3 4 5 );
@hashref->[EMAIL PROTECTED] = ('one', 'two', 'three', 'four', 'five', 'six');
print join("'\t'", keys %{$hashref}), "'\n";
print join("\t", values %{$hashref}), "'\n";

How do I properly use hashref slices?

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to