Help for this page

Select Code to Download


  1. or download this
    for (int i = 0; i < 10; i++)
    {
    ...
    perl_call_pv("PerlCode::addKeyValue", G_EVAL|G_SCALAR);
    ...
    }
    
  2. or download this
    sub addKeyValue
    {
       ($key, $value} = @_;
       push @{${$self->{$hash}}{$key}}, $value;
    }