I am trying to make a hash slice that only includes the keys "SHELL" and 
"DB" for %unix - using a reference.  How do I reference specific elements in 
a % table?  thanks

-----------------------
#! /usr/bin/perl -w

%unix = (
        "SHELL" => "/bin/csh",
        "PAGER" => "more",
        "DB" => "mysql");

$rhash =\%unix;
%slice = keys((%$rhash));

------------------------

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to