in reply to Just a thought

The original, of course, is
If your only tool is a hammer, everything looks like a nail.
The variant you may be trying to remember is
If your only tool is Perl, the whole world is your oyster!