in reply to Re^3: Search Engine Output needs sorting
in thread Search Engine Output needs sorting

Reply didn't work... Does ^# give first index? Don't know why you'd need, but curious.

  • Comment on Re^4: Search Engine Output needs sorting

Replies are listed 'Best First'.
Re^5: Search Engine Output needs sorting
by johngg (Canon) on May 28, 2011 at 14:44 UTC

    Interesting piece of lateral thinking but, no!

    By default, array subscripts are zero based in Perl so the first index is 0 and first element is $array[ 0 ]. You could change that behaviour by altering a Perl built-in variable but its side effects can be unexpected and its use is deprecated so you *really* don't want to go there and I won't even tell you which variable it is :-)

    Cheers,

    JohnGG