Help for this page

Select Code to Download


  1. or download this
    # Abuse the symbol table.  This does not work under strict.
    sub a1 {
    ...
      $c{a} = 'a';
      %$ref = %c;
    }
    
  2. or download this
    # "Arrow" notation.
    sub a3 {
    ...
    sub a4 {
      (shift)->{a} = 'a';
    }