in reply to Re^3: [RFC] Module code and POD for CPAN
in thread [RFC] Module code and POD for CPAN

This isn't python, the last element in the range is not excluded!

I wouldn't know...my knowledge of python is non-existent. I wouldn't recognise the code unless the file had a .py extension!

I actually originally wrote:

for my $i (0 .. $#{ $self->{trolley} }) { # ... }
but thought it would be better to omit the code block completely in providing the example.