Michael D. Smith wrote: : This is what I want to do: : : %hash = @array; : : But it don't work :)
Define "it don't work". #!/usr/bin/perl use strict; use warnings; use Data::Dumper 'Dumper'; my @foo = ( foo => 1, bar => 2, baz => 'three', ); my %foo = @foo; print Dumper \%foo; __END__ HTH, Charles K. Clarkson -- Mobile Homes Specialist Free Market Advocate Web Programmer 254 968-8328 Don't tread on my bandwidth. Trim your posts. _______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs