On 2010.03.26 09:55, Pry, Jeffrey wrote:
> Actually that hash error was a mistake on my part.
> 
> My question is, if I push 3 records to @settings, how do I get, let's say, 
> just the second record?

my $hashref = $settings[1];

This is why using a straight hash is easier.

You can extract information by name as opposed to by index.

What happens if you remove a server? Your indexes may become
mal-aligned, requiring changes to your code.

Steve

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to