Minor issue: $ perl /tmp/test.pl text Can't call method "getFrame" without a package or object reference at /tmp/test.pl line 32. This kind of error should be handled (report that "text" is not a supported backend)