in reply to Screencapture with Perl on Linux (SOLVED)

The code is working fine for me, when runing the script from the command line (on Slackware).