I have text file, I like to split in multiple arrays so I can output as muliple tables on same html page Each table will collect the data below the title symbol $...? I am trying to do it with hash of arrays but I am stucked with reference syntax here input file. I couldn't think properly today. Thanks heap!
"$Bulletin Summary?" "$Person Absences?" "No","Person","Code","Period","Absence Reason" "3","B Gra","GAU","All Day","Parent Leave" "5","C Jema","JBD","Day 5 Before School; P (0.2)","Personal Leave" "6","G Eenza","CBA","All Day","Long Service Leave" "7","S Hanie","SBO","4 (1.0)","Meeting" "$Lesson Cancellations?" "Period","Roll Class","Class","Teacher","Room","Reason" "1 (1.0)","12","Common","","HLN","Camp" "2 (2.0)","12","Common","","HLS","Camp" "3 (3.0)","12","AC033B","GANLIS Pet","Y207","Camp" "4 (4.0)","12","EN013B","THUM Jil","Y217","Sick" "$Person Calendar Activities?" "Activity","Start Period","End Period ","Teacher Codes" "LSL","Day 1 Before School (05/29/2017)","GS (08/25/2017)","MHA" "Leave","Day 8 Before School (06/08/2017)","GS","LGR" "LWOP","Day 6 Before School (06/19/2017)","GS","ARO" "South Africa Trip","Day 9 Before School (06/22/2017)","GS","DCA;KGA;B +KI" "$Kids Calendar Activities?" "Activity","Start Period","End Period ","Teacher Codes","Roll Class Co +des","No. Students" "12 Reteat Friday","1","GS","RBR;CBU;TCI;JEM;BHO;RMA;EMG;AMO;KPA;BRY;G +SC;HSI;PSW;KWI","","0" "$Kids Attendance Changes?" "No student attendance changes have been recorded for this day" "$Replacement Persons?" "Period","Room/Area","Class","Roll Class","Absent Teacher","Replacemen +t Teacher","Absent Reason","Load","Count","Notes" "P (0.2)","A107","Pastoral-BRY","12","R Ber","S Peter","Camp","0.2","0 +.0","" "1 (0.2)","A107","Pastoral-PSE","12","S Peter","S John","","0.2","0.0" +,"" "2 (0.2)","Y214","Pastoral-ARO","12","R Anh","Di Cesar Mose","Leave Wi +thout Pay","0.2","0.2","" "3 (0.2)","Y106","Pastoral-ACO","11","C Anche","J Miky","Personal Leav +e","0.2","0.0","" "4 (0.2)","Y106","Pastoral-MJE","11","JENKINSON Mark","JENKINSON Mark" +,"","0.2","0.0","" "$Room Changes?" "Period","Roll Class","Class","Teacher","Room","New Room" "P (0.2)","12","Pastoral-BRY","S John","A106","A107" "2 (0.2)","11","Pastoral-ACO","J Myki","Y107","Y106" "2 (0.2)","10","Pastoral-KPA","De Rest Anni","Y002","Y205" "3 (1.0)","11","RE0111","Woland Can","Y220","LTH" "4 (1.0)","11","RE0112","Woland Can","Y219","LTH" "4 (1.0)","11","RE0113","Da Charlott","Y105","LTH"
In reply to split the text file to multiple arrays by mhoang
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |