Subject: | location of Structure::List is not defined. |
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