You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been used to separate 'use' lines for external modules, and for in-house modules for tidyness and easy to have an overview. It would be nice if one could skip sorting certain modules (in a namespace for instance), or perhaps possiblity to define blocks to group modules in, and sort inside the blocks.
Example:
use Foo;
use Bar;
use ACompany::Zeta;
use ACompany::Acme;
=>
use Bar ();
use Foo ();
use ACompany::Acme qw(some_used_import);
use ACompany::Zeta ();
The text was updated successfully, but these errors were encountered:
nicomen
changed the title
Add possibility to avoid ordering of modules
Add possibility to avoid ordering of certain modules, or group before sorting
Jun 9, 2021
I think this makes sense to me. What I was thinking to start with was maybe just to sort contiguous sets of modules, so that should work with what you've proposed above.
I have been used to separate 'use' lines for external modules, and for in-house modules for tidyness and easy to have an overview. It would be nice if one could skip sorting certain modules (in a namespace for instance), or perhaps possiblity to define blocks to group modules in, and sort inside the blocks.
Example:
=>
The text was updated successfully, but these errors were encountered: