in reply to Re^3: reading image blob w/Image::Magick
in thread reading image blob w/Image::Magick

open(IMAGE, 'image.gif') opens a real file using the OS services but IO::Scalar objects exists only inside perl.

You can see the difference using the fileno() builtin:

open IMAGE, "image.gif"; printf "fn: %d\n", fileno(IMAGE); my $ios = IO::Scalar->new; printf "fn: %d\n", fileno($ios);