elsif ( $item !~ m{^String} ) { ... }
My interpretation is that the StringA etc. input items are supposed to represent any input strings at all rather than strings that all start with 'String'. I think that only the 'JOB::...', 'Something' and 'Something Else' strings are supposed to be constants.
Give a man a fish: <%-{-{-{-<
In reply to Re^6: Loop Array - If $var is something write values until $var is something else
by AnomalousMonk
in thread Loop Array - If $var is something write values until $var is something else
by maikelnight
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |