diff options
-rw-r--r-- | example/make-image.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/example/make-image.pl b/example/make-image.pl index 659d6ef..9faff00 100644 --- a/example/make-image.pl +++ b/example/make-image.pl @@ -91,7 +91,8 @@ sub overlay_data_to_image { 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( |