I didn't say it was a beginners' library, but it IS a graphics library, and a good portable one at that.
You might want to see frozen-bubble for a good and complete 2D graphics game implemented entirely in a few hundred lines of Perl, using SDL with Perl bindings.