You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't understand why a leading digit or '.' are negated here. It would be nice to allow digits in options. But if that's necessary, then adding a hyphen in that character class will fix the "-42" result.
Question for @LARRY: how are we resolving this? Do we allow digits as named params or do we fix it to reject the -42 edge case too?
My vote would be to allow them, as it gives for greater functionality. I don't know why this restriction was added, but I suspect it may
have been due to inability to name a variable starting with a digit, however, such parameters can still be accessed via %_ or a slurpy hash.
Migrated from rt.perl.org#127344 (status was 'open')
Searchable as RT127344$
The text was updated successfully, but these errors were encountered: