On May 15, Paul D. Kraus said:

Hello,

my $image = Image::Magick->new;
# trouble
open(IMAGE, '<images/products/unprocessed/"$sku"_unprocessed.jpg');

open(IMAGE, "<images/products/unprocessed/$sku_unprocessed.jpg");

That needs to be

  open(IMAGE, "<images/products/unprocessed/${sku}_unprocessed.jpg");

That's because the variable name is 'sku', not 'sku_unprocessed'.

--
Jeff "japhy" Pinyan         %  How can we ever be the sold short or
RPI Acacia Brother #734     %  the cheated, we who for every service
http://japhy.perlmonk.org/  %  have long ago been overpaid?
http://www.perlmonks.org/   %    -- Meister Eckhart

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to