Closed p5pRT closed 21 years ago
This is a bug report for perl from windl@elf\, generated with the help of perlbug 1.34 running under perl v5.8.0.
----------------------------------------------------------------- Consider this code fragment: use constant Exif => 34665; if (exists($$tagvals{34665})) { # Exif IFD Pointer #==>doesn't work: if (exists($$tagvals{Exif})) { # Exif IFD Pointer
The variant commented out never finds the existing element\, the literal number works however.
"Ulrich Windl" (via RT) \perlbug\-followup@​perl\.org wrote:
Consider this code fragment: use constant Exif => 34665; if (exists($$tagvals{34665})) { # Exif IFD Pointer #==>doesn't work: if (exists($$tagvals{Exif})) { # Exif IFD Pointer
The variant commented out never finds the existing element\, the literal number works however.
IIRC\, last time this came out\, this was decided this was not going to be changed.
See http://xrl.us/jb7 for example.
@rgs - Status changed from 'new' to 'resolved'
Migrated from rt.perl.org#22757 (status was 'resolved')
Searchable as RT22757$