Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions dist.ini
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ GD = 0
Test::More = 0.88
File::Temp = 0
Test::MockTime = 0
Test2::V0 = 0
6 changes: 3 additions & 3 deletions lib/Data/Random.pm
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ sub rand_set {
return @{ $options{'set'} }[@results];
}
else {
return \@{ $options{'set'} }[@results];
return [ @{ $options{'set'} }[@results] ];
}
}

Expand Down Expand Up @@ -776,11 +776,11 @@ height - the height of the image. If you supply a value for 'width', then 'minw

=item *

minpixels - the minimum number of random pixels to display on the image. The default is 0.
minpixels - the minimum number of random pixels to display on the image. The default is 0. Note that this does not control the minimum number of pixels I<in the image>, since this is determined by the image's dimensions.

=item *

maxpixels - the maximum number of random pixels to display on the image. The default is width * height.
maxpixels - the maximum number of random pixels to display on the image. The default is width * height. Note that this is not control the number of pixels I<in the image>, since this is determined by the image's dimensions.

=item *

Expand Down
Loading