You are right, that website's code is messed up. I contacted the author , and while I normally wouldn't publically post a private email, the response I received was courteous, prompt, and positive, so with names removed I think it will be ok:
Hi David,
I'm answering this query on behalf of (the author) who is unavailable at the moment.>><snip>
>> Someone just posted a question on www.perlmonks.org asking why it
>> wouldn't work. ...how COULD it work, where all variable names
>> have been stripped?
Thanks for your feedback - you're right, there appears to have been some kind of formatting error here.
We're trying to fix it right now, and I'll let you know once it's done.
I wonder what wrecked it. Perhaps it was a spell checker or something like that. Anyway, it appears that bart has taken the time to fix it for you, and in fact, it looks like he has improved upon the original script, so I would use his example below. ++bart. :)
Dave
In reply to Re^3: Dynamic Directory Index help
by davido
in thread Dynamic Directory Index help
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |