About four years ago I found myself in the same mindset. I had finally come to realize how much I didn't know and that the things I'd been able to accomplish, while significant, could have been done in small fractions of the time and much more sustainably/cleanly by, say, half of the top 100 monks in the Saints in Our Book list. I humbled myself before Perl and started paying more attention to things that had previously struck me as mere opinion.
I did have some trouble in a couple of interviews in that period because I was unwilling to call myself a Perl expert, guru, whatever. I had come to know how much I didn't know. I didn't realize that what I'd lost was the best baggage I'd ever shed.
I went from gig to gig in this time ending up being the go to hacker in all but one. Doing tutorials and running the occasional code review. Being the document writer, the tester, and completing more features/code than the other hackers. Wondering at first how this was possible since I didn't know WTF I was doing.
You're in a great place even though it doesn't feel like it. The desire and interest to learn is ultimately more important than confidence. Our curiosity is what makes us special animals, not our posture. :) The reason I suspect I was able to get a few of those jobs, despite what may have seemed like low confidence, was exuberance. Loving what you do and wanting to have fun with it is contagious. Have fun! The rest will likely follow.