Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the PPI CPAN distribution.

Report information
The Basics
Id: 16815
Status: resolved
Priority: 0/
Queue: PPI

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

Bug Information
Severity: Normal
Broken in: 1.109
Fixed in: (no value)



Subject: location of Structure::List is not defined.
Download (untitled) / with headers
text/plain 292b
Adam- I don't know if this is intentional, but location() seems to return undef for for all List::Structure objects. For example: use PPI; my $code = '@foo = (1,2)'; my $doc = PPI::Document->new(\$code); print $doc->find_first('Structure::List')->location(); #prints nothing -Jeff
Minor thinko, changed an unless to an if. Added regression test as well.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.