Help for this page

Select Code to Download


  1. or download this
    for my $i (0 .. $#titles){
        ...
    }
    
  2. or download this
    perl -wMstrict -E 'my @x=(qw(a b c)); say "$_: $x[$_]" for (0..@x)'
    0: a
    ...
    2: c
    Use of uninitialized value in concatenation (.) or string at -e line 1
    +.
    3:
    
  3. or download this
    perl -wMstrict -E 'my @x=(qw(a b c)); say "$_: $x[$_]" for (0..$#x)'
    0: a
    1: b
    2: c