You can also be afflicted by the other extreme: "Writers overload".
In that affliction, your mind goes in 300 different directions, which
prevents you from concentrating on the task at hand.
I think Einstein said " Depression is the well-spring of inspiration", in
response to questions about his depressed state. Being older now,
I understand what he meant. Being depressed tends to force you
deep into the sub-concious mind, and there you find inspiration.
So the great minds often go thru "cycles", of deep depression followed by great productive periods.
Getting back to "ideas for perl"............
Whenever I see something everyone seems to like and use, I say
to myself: "Hmmmm. Could perl do that?" The latest idea which
crossed my mind is "Online Bingo" . But I realized that 5-card-stud,
may be more profitable. :-)