[Templates] Assembling a list of css/js/meta tags for WRAPPERs
Randal L. Schwartz
merlyn@stonehenge.com
08 Aug 2006 17:48:08 -0700
>>>>> "Clayton" == Clayton Scott <clayton.scott@gmail.com> writes:
Clayton> On 8/3/06, Bill Moseley <moseley@hank.org> wrote:
>> On Wed, Aug 02, 2006 at 07:51:13PM -0700, Randal L. Schwartz wrote:
>> > Why are you using an array when a hash would be so much easier?
>>
>> Sure, anyone can use a hash. ;)
>>
>> Well, it's copied from code I used for loading javascript and I
>> wanted to load the javascript in a specific order.
Clayton> The "Cascading" part of CSS makes ordering highly desirable.
Well, I mean use an array to decide the order, but also have a "seen"
hash.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!