Skip to content
  • Mike Hibler's avatar
    Work around bizarre perl behavior. · 277a192e
    Mike Hibler authored
    Whenever I invoke $image->hash() to get the SHA-1 hash of the image file,
    I instead get back a ref to the internal Image.pm $self->{'HASH'} hash
    where we store fields from the DB. At least this is the case on FreeBSD 10.3
    (perl 5.20). Some odd interation with the AUTOLOAD function?
    
    Anyway, just use $image->field('hash') instead.
    277a192e