Re: writing/reading records with Data::Dumper

2002-07-31 Thread todd shifflett
For those who are interested... This seems to work but I don't know why: foreach $element (@elements) { my $profile = MY_PROFILE->new(); $profile = eval(eval(Dumper($element))); push(@profileArray,$profile); } On Wednesday, July 31, 2002, at 11:51 AM, todd sh

writing/reading records with Data::Dumper

2002-07-31 Thread todd shifflett
I am having trouble re-reading a record after I write it. This is my situation (I'll try and be as concise as possible): I have an object ($profile) with methods, variables, and variables of other objects. For example: $profile = MY_PROFILE->new(); $profile->{NAME} = "theName";