The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.
#!/usr/bin/perl -w
use strict;
use SVG (-auto => 1);

my $svg=new SVG(-foo => "bar");
print("Failed in autoload") and exit(0)
    unless eval {
        $svg->make->it->up->as->we->go->along;
    };

#--> currently this is allowed, in fact. It just has no effect.
#print("Failed in rejecting -auto argument") and exit(0)
#    if eval {
#        my $svg=new SVG(-auto => 1);
#	1;
#    };

exit 1;