Re: Fwd: Using getting stuck when choosing new Custom Lifecycle
Matt Zagrabelny <[email protected]> Tue, 14 Feb 2017 08:34:33 -0600
| Newsgroups | gmane.comp.bug-tracking.request-tracker.user |
|---|---|
| Message-ID | <CAOLfK3UxM_63krAMrekbdwSnm0ODOWzitRW=gAOKSYiJ0W8+6g@mail.gmail.com> |
On Tue, Feb 14, 2017 at 8:14 AM, Dippery, Kyle <[email protected]> wrote: > In my own custom lifecycle, I have one hyphenated status ("in-use"). I don't remember why (perhaps this is the reason), but I have it in quotation marks as a key in our transitions array: > > transitions => { > ... > "in-use" => [qw(allocated recycled stolen lost deleted surplussed destroyed-for-parts scattered-across-the-desert)], > } > > Your hyphenated ones aren't quoted in your array. Perhaps that's the sticking point? Perl might be trying to do math with the "-" before assigning to it. Guaranteed. You need to quote hash keys that contain hyphens. -m