in reply to Re^3: Web Site Mapper
in thread Web Site Mapper
Ahh, I see what I was thinking of: when defining multiple constants on one line, you have to follow the same rules as hashrefs everywhere else (because that's exactly what you're passing to constant.pm). That means using arrayrefs, even when all you really need is an array. As you demonstrated, that isn't necessary when using a single constant.
----
: () { :|:& };:
Note: All code is untested, unless otherwise stated
|
|---|