Help for this page

Select Code to Download


  1. or download this
    # Method 1: With an explicit declaration
    
    ...
    $v{u} = "hello";
    print $v{u}, "\n";
    dd %v;    # Show the contents of the hash
    
  2. or download this
    # Method 2: Without a declaration
    
    ...
    $v{u} = "hello";
    print $v{u}, "\n";
    dd %v;    # Show the contents of the hash