Re: array index



On 9/11/07, Pavanvithal Torvi <pavanvithal@xxxxxxxxx> wrote:
Hi All,

Thanks a lot for the advice/help. I think it would be better to avoid using
this feature :)
snip

It is perfectly safe to use negative indexes. Perl 6 won't be out for
a while and this feature change is one of the smaller
incompatibilities between Perl 5 and Perl 6 (for instance the
concatenation operator "." is becoming "~", for loops are structured
differently, the member of operator "->" is becoming ".", etc.).
.



Relevant Pages

  • Re: Bug in #! processing (long reply)
    ... The way to support the documented feature is on a per-shell basis. ... The command interpreter is passing the remaining arguments to the ... hack where the perl script starts being executed as a sh ... sh will pass it off to perl. ...
    (freebsd-current)
  • Re: File::Find help
    ... Maybe Perl 6 will finally kill it (I ... Some people suggested documenting this 'feature'. ... Tom said that Larry ...
    (perl.beginners)
  • Re: practical perl guides.
    ... Wanted to ask a question about practical beginners guides for perl. ... Was hoping to expand on this with some practical and hands on guides to perl. ... personally I struggle to learn from the this is a language feature format like. ...
    (perl.beginners)
  • Re: whats your most favourite feature of perl?
    ... What's your most favourite feature of your girlfriend? ... I like Perl because it's Perl and I ... namespaces and the power of namespace ...
    (perl.beginners)
  • Re: cannot locate feature.pm error
    ... here is the message got after trying "install feature.pm" on terminal command ... In Perl, you make use of modules with statements of the type: ... install feature ...
    (perl.beginners)