in reply to Setting Video Mode in SDL
The error message you get is unhelpful because $! is not set by SDL::Video, nor is it documented to do so. The SDL::Video documentation on set_video_mode tells you to retrieve the error message using SDL::get_error.
|
|---|