Re: slurp hash from file



On Tue, 27 Feb 2007, Adriano Ferreira wrote:

On 2/27/07, Jorge Almeida <jalmeida@xxxxxxxxxxxxxxx> wrote:
Let's say your data is in the file "data.pl". Then

my %hash = do "data.pl";
my $hash_ref = \%hash;

Great!
Thanks.

--
Jorge Almeida
.