diff options
-rw-r--r-- | test.pl | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -7,7 +7,8 @@ use Imager; my $string = 'simple test string, but a bit long just in case we get a too-small QR code'; my $data = Data::QRCode->new( - $string,'H', + input_data => $string, + error_correction_level => 'H', ); my $src_img = Imager->new( |