in reply to Re^7: Howto convert Image::Grab jpg object to Image::Magick object???
in thread Howto convert Image::Grab jpg object to Image::Magick object???
See the BLOB module.
It simply marks the variable as a BLOB.
I don't know how the insides of the compiler works (and I am not going to look), but pre-defining the variable type should make the code run faster.
Even if it doesn't, at least it should make the code easier to read in the distant future when I come back to modify it.