David Draley wrote:
> 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
Hash slice is a list of values (for given keys).
This two lines does the same:
@slice = @unix{SHEL
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"