Monks,
I'm currently using Devel:SymDump to get a list of packages for the current execution context. The only problem with this is that it gives me the packages in some sort of internal order (the order they are encountered in a traversal of the global symbols table, I believe). I really need packages in source (declaration) order. Does anyone know if there is a way to obtain packages in source order, short of just grepping through the source file itself?