| 1 | #!perl -w | ||||||||||
| 2 | 1 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | 1 | ▶ | use Test::More tests => 1; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 1 | ▶ | use Imager; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | 1 | ▶ | use Imager::Test qw(test_image); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | |||||||||||
| 7 | 1 | ▶ | -d "testout" or mkdir "testout"; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 8 | |||||||||||
| 9 | # checks that we load the CUR write handler automatically | ||||||||||
| 10 | 1 | my $img = test_image(); | |||||||||
| 11 | 1 | ▶ | ok($img->write(file => 'testout/cursing.cur'), | ||||||||
|
Branch: 1 branch
| |||||||||||
| 12 | "write cur with autoload") | ||||||||||
| 13 | or print "# ",$img->errstr,"\n"; | ||||||||||