Some Perl and CSS to add sub menu items to web site
George Munroe Wed 19 Feb 2014 updated: Tue 07 Oct 2014
Some of you were asking about adding sub menu items to your web site.
I mentioned that once you start to build a more complex structure you should really be creating a Section.pm sub class in your project package and a corresponding database table to store properties of each web site section. It is then much easier to create some methods for updating your menu and general site structure, using easy to use forms (rather than messing with Perl code).
However, since you asked, here's another solution using hashes in Perl.
I'm not suggesting you allow this to distract you from preparing presentations for tomorrow. It is simply here as a reference for you.
See you tomorrow. I hope you all enjoy the short presentations you will be giving—perhaps you could think of these presentations as practice for reporting on the workshop to your colleagues on returning home!
George
1 comment
Abdulmalik Alabede Thu 20 Feb 2014
Thanks George...The last two weeks has been wonderful. Thank you so much. I am going to miss you and Christen.... Cheers.