I can get the following to work without issue:
Code: Select all
$teampath = "/var/www/team1";
$player=Image::Magick->new;
$imgpath = $teampath . "/img/player.png";
$player->Read("$imgpath")
Code: Select all
$teampath = "/var/www/team1";
$player=Image::Magick->new;
$imgpath = $teampath . "/img/" . $images[0];
$player->Read("$imgpath")
@images is a properly defined array with 16 elements:
Code: Select all
print "$imgpath\n";
Any ideas what I'm doing wrong folks?/var/www/team1/img/player.png