Hi folks --
Don't know if this is a bug report or just a general FYI. I've been
having trouble cleaning up 2nd indicators that aren't blank for 7xx fields.
I was using the syntax in the Tutorial.pod doc:
if ($field_7xx->indicator(2) != ' ') {
$field_7xx->update( ind2 => ' ' );
}
However, this was failing to match 2nd indicator 0 (zero), which is
definitely different from blank.
I tried the following variations to no avail:
* != '' (no space)
* != ' ' (with space)
* != undef
* != null
* != '#'
* !- '_'
I ended up having to use the following, which achieved the desired
effect with any of the above in the first slot:
if ($field_7xx->indicator(2) != '' || $field_7xx->indicator(2) == 0) {
Thanks,
-Corey
--
Corey A Harper
Metadata Services Librarian
Bobst Library, B42-LL1
New York University
70 Washington Square South
New York, NY 10012
212.998.2479
[EMAIL PROTECTED]