in reply to Re^2: Perl GD imagecopy
in thread Perl GD imagecopy

use strict; would have caught this error, or at least forced you to declare $jpeg_quality, and then hopefully you would have thought about giving it a value too.