Stop using smartmatch ~~
#15
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: nu/CharmBoard#15
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I don't think it does what I thought it did back when I started using it, so it'd be better to just... Not.
For, i.e. the database type checker, it might be better to force lowercase the config value before comparing it, so if someone types
SQLite
in the config instead ofsqlite
then it doesn't die unnecessarily. I believe this is what I intended when deciding to use smartmatch here.For, i.e. the database type checker, it might be better to force lowercase the config value before comparing it, so if someone types
SQLite
in the config instead ofsqlite
then it doesn't die unnecessarily. I believe this is what I intended when deciding to use smartmatch here.Yeah... That's literally the only place I was using smartmatch. Now to go through and change each
use experimental qw(try smartmatch);
line to justuse experimental qw(try);
in every. single. PM file.