On 5/2/05, Suresh Govindachar <[EMAIL PROTECTED]> wrote:
>  Chris Sent on 2 May 2005 16:02:02 -0400:
> 
> > I can now turn the %hash into text, but I don't understand
> > how to make it correctly formatted.
> >
> > -----------------------------------
> > %hash = (
> >       'John' => {
> >               'eyes' => 'green',
> >               'hair' => 'brown',
> >               'clothes' => {  'boots'=>'black','shirt'=>'green'       }
> >       },
> >       'Jane' => {
> >               'height' => '6',
> >               'weight' => '120',
> >               'clothes' => {  'skirt'=>'white','sandals'=>'tan'}
> >       }
> > );
> >
> >
> > use Data::Dumper;
> > print Dumper(%hash);

print Dumper(\%hash);

Dumper takes a reference to your data structure.

_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to