in reply to Re^3: constructing a tree from csv file
in thread constructing a tree from csv file

Dear choroba, I have not been able to find any tutorial for what you just wrote. Could you please help me on this. I though I'd try it myself but I ahve not been able to even start with it. Please if you could help me in any way !!!! thanks
  • Comment on Re^4: constructing a tree from csv file

Replies are listed 'Best First'.
Re^5: constructing a tree from csv file
by choroba (Cardinal) on Nov 01, 2013 at 16:46 UTC
    Read perldata - Perl data types to learn on how to use hashes. See below on how I would implement it.
    لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
      Thanks but Im getting this error :-
      Use of uninitialized value in print at final.pl line 35, <DATA> line 7 +. , ,3: M143<-M10<-Q = P, Use of uninitialized value in print at final.pl line 35, <DATA> line 7 +. , ,0: M420<-M143<-M10<-Q = P, Use of uninitialized value in print at final.pl line 35, <DATA> line 7 +. , L,: M407<-M143<-M10<-Q = P, Use of uninitialized value in print at final.pl line 35, <DATA> line 7 +. , 0: M10<-Q = P, Use of uninitialized value in print at final.pl line 35, <DATA> line 7 +. , ,1: M421<-M143<-M10<-Q = P, Use of uninitialized value in print at final.pl line 35, <DATA> line 7 +. , L,: M406<-M143<-M10<-Q = P,
        Did you use the [download] link to get the code? Tab characters are used in the DATA section, plain spaces would break the programme.
        لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ