To understand (something) intuitively, to know (something) without having to think intellectually.
To fully and completely understand something in all of its details and intricacies.
I finally grok Perl.