Skip Menu |

This queue is for tickets about the Text-Balanced CPAN distribution.

Report information
The Basics
Id: 70007
Status: new
Priority: 0/
Queue: Text-Balanced

People
Owner: Nobody in particular
Requestors: djerius [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in:
  • 2.02
  • v2.0.0
Fixed in: (no value)



Subject: extract_variable doesn't recognize ${xxx} at end of string
Tested on Versions 2.0.0 and 2.02. I'm pretty sure this is a bug and not a feature. extract_variable doesn't recognize things of the form "${xxx}" if they're at the end of a string: At end: $ extract_variable( '${a}' ) $ARRAY1 = [ undef, '${a}', undef ]; Nope, Doesn't recognize it. Not at end: $ extract_variable( '${a}x' ) $ARRAY1 = [ '${a}', 'x', '' ]; Yup, recognizes it. I expect both calls to return '${a}' as the first element in the returned array. Thanks, Diab