in reply to Re^2: Mistake in data structure use?
in thread Mistake in data structure use?
Data::Dumper does it like that because your code does it like that:
school=>[ 0=>{school_type=>"school", school_name=>undef, graduation_da +te=>undef}, 1=>{school_type=>"school1", school_name=>undef, graduation_d +ate=>undef}, ],
The other poster is suggesting you do it this way:
school=>[ {school_type=>"school", school_name=>undef, graduation_date=> +undef}, {school_type=>"school1", school_name=>undef, graduation_date= +>undef}, ],
However, if that's not the problem, perhaps you should tell us which line exactly is line 136. I could not tell this easily from your original post. perl's error messages tell you the line number for a reason.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Mistake in data structure use?
by McLogic (Initiate) on Dec 01, 2006 at 23:08 UTC | |
by chromatic (Archbishop) on Dec 01, 2006 at 23:29 UTC | |
by McLogic (Initiate) on Dec 04, 2006 at 16:31 UTC |