in reply to Get values from anonymous hash?

After reading your post, I'm still not clear on what you are trying to accomplish. However, consider the following code:

#!/usr/bin/perl -w use strict; use Data::Dumper; my @foo = qw/ name Roger age 20 hobby lint /; my %thing = @foo; print Dumper(\%thing);

If you run that code you get something on the order of:

$VAR1= { 'hobby' => 'lint', 'name' => 'Roger', 'age' => 20 };

I have no idea otherwise what your trying to accomplish.


Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg