Help for this page

Select Code to Download


  1. or download this
    $foo->[0] is dereferencing an arrayref
    $foo->{bar} is dereferencing a hashref
    $foo->(@blah) is dereferencing (and invoking) a function-ref
    $foo->bar is calling the method "bar" that is defined in the class tha
    +t $foo has been [bless]'ed into.
    
  2. or download this
    my $text_index;
    if ($token->[0] eq 'T') {
    ...
    } else {
        $text_index = -1;
    }